ucfirst question
Posted: Wed Jul 13, 2005 4:26 am
i understand that ucfirst() will make the first letter of a word to be in uppercase...what if i have a sentence "my new project"....is it possible for me to make each word to be in uppercase?
i already done this
($row[0] contains the words my new projects)
and the result in the view.php page is 'My new project'
in my case, i have a textbox that will handle sentence...and in one click, data will be stored in the database...i want to make each word to uppercase when i view it with view.php....My New Project
i already done this
Code: Select all
ucfirst($row[0])and the result in the view.php page is 'My new project'