built in function to change the first letter in a word to uppercase in php code example
Example 1: php uppercase first letter
ucfirst($myword);
Example 2: php capitalize first letter
ucfirst("hello world!");
ucfirst($myword);
ucfirst("hello world!");