Adding ucwords() To The Following Code?

Hi,

I’m trying to add ucwords() to the following code so that is uses upper-cases for the words that $name spits out.

$TMPL[‘title’] = ‘’.$name.’ - Actor - Trailerpulse’;

I’ve tried implementing it myself but can’t seem to figure out the correct implementation.

Any suggestions

Thanks in Advance

This should work:

$TMPL['title'] = ucwords($name).' - Actor - Trailerpulse';

I’m sure even Bill Gates would know the answer…
Hope you’ve found an answer with that many postings