farkewie Posted March 20, 2007 Share Posted March 20, 2007 hi i use this code to echo username and i would like it to change first letter to uppercase. any help would be great. echo $check["uname"] Link to comment https://forums.phpfreaks.com/topic/43422-solved-change-first-letter-to-uppercase-when-echo/ Share on other sites More sharing options...
farkewie Posted March 20, 2007 Author Share Posted March 20, 2007 worked this one out myself pretty simple here is the code <?php echo ucfirst($check["uname"])?> Link to comment https://forums.phpfreaks.com/topic/43422-solved-change-first-letter-to-uppercase-when-echo/#findComment-210971 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.