php every word start with capital 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