You could use the PHP function ucwords()
.
See: http://php.net/manual/en/function.ucwords.php
Example:
$foo = 'hello world!';
$foo = ucwords($foo); // Hello World!
You could use the PHP function ucwords()
.
See: http://php.net/manual/en/function.ucwords.php
Example:
$foo = 'hello world!';
$foo = ucwords($foo); // Hello World!