recent searches:
searching include ,
searching variable ,
searching post...
substr_replace() replaces a copy of string delimited by the start and (optionally) length parameters with the string given in replacement. The result is returned.
If start is positive, the replacing will begin at the start'th offset into string.
If start is negative, the replacing will begin at the start'th character from the end of string.
If length is given and is positive, it represents the length of the portion of string which is to be replaced. If it is negative, it represents the number of characters from the end of string at which to stop replacing. If it is not given, then it will default to strlen( string ); i.e. end the replacing at the end of string.
Notatka: Ta funkcja jest bezpieczna dla danych binarnych.
See also str_replace() and substr().
| Poprzedni | Spis treści | Następny |
| substr_count | Początek rozdziału | substr |
Język PHP to dzisiaj powszechnie przyjęty standard, podstawa tworzenia dynamicznych stron WWW, opartych na bazach danych.
PHP to język skryptowy. Znaczy to, że jest to język nie kompilowalny. Program jest wykonywany przez interpreter na podstawie jego kodu źródłowego. Język PHP to element technologii internetowej SERVER-SIDE. Znaczy to, że kod języka jest wykonywany od strony serwera (na serwerze).
W jakim celu używac PHP? Po co to komu?
Załóżmy, że potrzebujemy takiej strony internetowej, która wyświetli zawsze bieżącą datę. Dzięki technologii PHP, datę i godzinę odczytywać można z miejsca gdzie wykonuje się skrypt, np. gdy serwer znajduje się w USA a my w Polsce to widoczna jest różnica w czasie który zostanie wyświetlony.
tusz do kresek pompa zanurzeniowa spis stron Apartament na sprzedaż Władysławowo powiększanie penisawizy do rosji, wizy do rosji gdańsk, medycyna estetyczna Warszawa, Programy PDF, części zamienne, nieruchomości szczecin, turystyka Czechy, fotografia akcesoria