convert first letter from string to capital letter php 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);