$title = ucwords('hello world'); print "title=$title\n";Outputs:
Hello WorldThere is also ucfirst() which only uppercases the first letter
$title = ucfirst('hello world'); print "title=$title\n";Outputs:
Hello world
$title = ucwords('hello world'); print "title=$title\n";Outputs:
Hello WorldThere is also ucfirst() which only uppercases the first letter
$title = ucfirst('hello world'); print "title=$title\n";Outputs:
Hello world