Menu
I made this script to turn the first letter into a capital:
[code=php]function H($text){
return strtoupper(substr($text,0,1)).substr($text,1,strlen($text));
}
[i]H(text)[i]Text
I’d like to update my script so that you can insert a longer text, but that doesn’t work.
[i]H(the anime king)[i]The anime king[i]The Anime King
How can I do that? Thanx!