php cpitalize each letter of word capital in atring 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