...

View Full Version : Making the first letter caps



bunny1
03-04-2007, 08:51 PM
Is there a method in php for capitalizing the first letter of a variable?

Thanks

Inigoesdr
03-04-2007, 08:55 PM
You can capitalize the first letter of the value of a variable with ucfirst() (http://www.php.net/manual/en/function.ucfirst.php).

bunny1
03-04-2007, 08:55 PM
thank you!



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum