how to make first letter capital and rest small in php code example Example: php uppercase first letter ucfirst($myword);