It converts the first character of each word in a string to uppercase
Example
<?php
echo ucwords(“php code”);
?>
Output
Php Code
It converts the first character of each word in a string to uppercase
Example
<?php
echo ucwords(“php code”);
?>
Output
Php Code