[Solved] lower case

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
aaron87
Forum Newbie
Posts: 2
Joined: Tue Dec 16, 2003 11:16 pm

[Solved] lower case

Post 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?
microthick
Forum Regular
Posts: 543
Joined: Wed Sep 24, 2003 2:15 pm
Location: Vancouver, BC

Post by microthick »

http://ca2.php.net/manual/en/function.strtolower.php

$string = strtolower("Abandoned Pools");
aaron87
Forum Newbie
Posts: 2
Joined: Tue Dec 16, 2003 11:16 pm

Post by aaron87 »

thanks!
Post Reply