php capital each word code example
Example 1: php uppercase each word
$upperCaseSentance=ucwords("i do not feel good");//I Do Not Feel Good
Example 2: first letter capital of every word in php
$clientname = "ankur prajapati";
ucwords($clientname);//Ankur Prajapati