jwk811 Posted January 5, 2007 Share Posted January 5, 2007 how can i capitalize all letters in a word? Link to comment https://forums.phpfreaks.com/topic/33015-solved-capitalize-all-letters-in-word/ 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] Link to comment https://forums.phpfreaks.com/topic/33015-solved-capitalize-all-letters-in-word/#findComment-153755 Share on other sites More sharing options...
jwk811 Posted January 5, 2007 Author Share Posted January 5, 2007 yep thats what i needed thanks Link to comment https://forums.phpfreaks.com/topic/33015-solved-capitalize-all-letters-in-word/#findComment-153757 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.