jwk811 Posted January 5, 2007 Share Posted January 5, 2007 how can i capitalize all letters in a word? Quote Link to comment Share on other sites More sharing options...
alpine Posted January 5, 2007 Share Posted January 5, 2007 [code]<?php$str = "Mary Had A Little Lamb and She LOVED It So";$str = strtoupper($str);echo $str; // Prints MARY HAD A LITTLE LAMB AND SHE LOVED IT SO?> [/code] Quote Link to comment Share on other sites More sharing options...
jwk811 Posted January 5, 2007 Author Share Posted January 5, 2007 yep thats what i needed thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.