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"] Quote 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"])?> Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.