first character each wordcapital in php 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