970_90

Monday, 1 December 2014

Strtolower - Returns string with all alphabetic characters converted to lowercase

string strtolower ( string $str )
Make a string lowercase
Returns string with all alphabetic characters converted to lowercase.

<?php
$str 
"Mary Had A Little Lamb and She LOVED It So";$str strtolower($str);
echo 
$str// Prints mary had a little lamb and she loved it so?>


14.-Curso PHP-MySQL. Formatear, cortar y unir strings.

No comments:

Post a Comment