php find first capital letter code example
Example 1: php capitalize first letter
ucfirst("hello world!");
Example 2: first letter capital of every word in php
$clientname = "ankur prajapati";
ucwords($clientname);//Ankur Prajapati
ucfirst("hello world!");
$clientname = "ankur prajapati";
ucwords($clientname);//Ankur Prajapati