php capitalize every character code example
Example: first letter capital of every word in php
$clientname = "ankur prajapati";
ucwords($clientname);//Ankur Prajapati
$clientname = "ankur prajapati";
ucwords($clientname);//Ankur Prajapati