php capilatixe first letter in string code example
Example 1: first character uppercase php
ucwords("hello world"); // Hello World
ucfirst("hello world"); // Hello world
Example 2: php uppercase first letter
ucfirst($myword);
ucwords("hello world"); // Hello World
ucfirst("hello world"); // Hello world
ucfirst($myword);