how to convert string and uppercase first letter php code example Example: php uppercase first letter ucfirst($myword);