ucwords()
to capitalize a word you use the ucwords() function.
lest say i want to capitalise this: wallpaperama is cool
i can use this:
<?php
$word = "wallpaperama is cool";
echo ucwords($word);
?>
$word = "wallpaperama is cool";
echo ucwords($word);
?>
the output will be:
Wallpaperama Is Cool