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
snpo123
Forum Commoner
Posts: 77 Joined: Sat Apr 17, 2004 6:31 pm
Post
by snpo123 » Mon Jun 14, 2004 12:22 am
i have a variable that I need to convert to caps, for example
$name = john;
i need a function like
$namecaps = caps($name);
the end result should set $namecaps as JOHN
is there such a function, or a way to do what i need?
thanks
feyd
Neighborhood Spidermoddy
Posts: 31559 Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA
Post
by feyd » Mon Jun 14, 2004 12:27 am
[php_man]strtoupper[/php_man]()
snpo123
Forum Commoner
Posts: 77 Joined: Sat Apr 17, 2004 6:31 pm
Post
by snpo123 » Mon Jun 14, 2004 12:34 am
works great, thanks feyd