Tuesday, September 16, 2008

The strtolower() function

This function returns the lowercase version of a given string.

Syntax: strtolower(string);

Example input:

$str1=" MY PROGRAM";
echo strtolower($str1);
echo "
";
echo $str1;

Example output:

my program

MY PROGRAM

No comments: