php InitCap code example
Example: ucfirst
<?php
/* Convert the first character of "hello" to uppercase: */
echo ucfirst("hello samy!");
//output : Hello samy!
?>
<?php
/* Convert the first character of "hello" to uppercase: */
echo ucfirst("hello samy!");
//output : Hello samy!
?>