Page 1 of 1

[Solved] lower case

Posted: Tue Dec 16, 2003 11:16 pm
by aaron87
ok, I want to make a string all lowercase so I can use it in a link

$string = "Abandoned Pools";
$ltr = $string[0]

this would return A, but I need a
How would I do this?

Posted: Tue Dec 16, 2003 11:23 pm
by microthick
http://ca2.php.net/manual/en/function.strtolower.php

$string = strtolower("Abandoned Pools");

Posted: Tue Dec 16, 2003 11:25 pm
by aaron87
thanks!