Strict Standards: Only variables should be assigned by reference in /blog/wp-includes/post.php on line 114 Strict Standards: Only variables should be assigned by reference in /blog/wp-includes/post.php on line 114 Strict Standards: Only variables should be assigned by reference in /blog/wp-includes/post.php on line 114 Strict Standards: Only variables should be assigned by reference in /blog/wp-includes/post.php on line 114 Strict Standards: Only variables should be assigned by reference in /blog/wp-includes/post.php on line 114 Strict Standards: Only variables should be assigned by reference in /blog/wp-includes/post.php on line 114 Strict Standards: Only variables should be assigned by reference in /blog/wp-includes/post.php on line 114 Strict Standards: Only variables should be assigned by reference in /blog/wp-includes/post.php on line 114 Deprecated: Function eregi() is deprecated in /blog/wp-content/plugins/tpbc.php on line 96 Operując na ciągach tekstowych, często istnieje potrzeba zmiany wielkości liter w danym tekście tak by wyświetlały się np. same drukowane znaki. Służą do tego dwie podstawowe funkcje. Aby zmienić wielkość liter na małe użyj funcji strtolower(). Przykład 1: Kod: php
<?php Skrypt przekształci wszystkie litery w zmiennej $string na małe i je wyświetli. Aby zmienić wielkość liter na małe użyj funcji strtoupper(). Przykład 2: Kod: php
<?php Skrypt przekształci wszystkie litery w zmiennej $string na duże i je wyświetli. Autor: Adam Suchowski nowe Porady PHP » zobacz wszystkieWordPress database error: [Incorrect file format 'wp_comments']
|