recent searches:
searching include ,
searching variable ,
searching post...
This function returns a copy of str, translating all occurrences of each character in from to the corresponding character in to.
If from and to are different lengths, the extra characters in the longer of the two are ignored.
strtr() may be called with only two arguments. If called with two arguments it behaves in a new way: from then has to be an array that contains string -> string pairs that will be replaced in the source string. strtr() will always look for the longest possible match first and will *NOT* try to replace stuff that it has already worked on.
Notatka: This optional to and from parameters were added in PHP 4.0.0
See also ereg_replace().
| Poprzedni | Spis treści | Następny |
| strtoupper | Początek rozdziału | substr_compare |
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.
sprzedaż noclegi quiksilver nowoczesny laminator Quickstart H320 Driver Genius Professional 10.0.0.761 crackwizy do rosji gdańsk, interaktywna mapa polski, komputery warszawa, pokoje Zakopane, mapa Chmielno, wesele gliwice, Nokia N78