#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2012
    Posts
    32
    Rep Power
    3

    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
  2. #2
  3. Did you steal it?
    Devshed Supreme Being (6500+ posts)

    Join Date
    Mar 2007
    Location
    Washington, USA
    Posts
    14,071
    Rep Power
    9398
  4. #3
  5. Confused badger
    Devshed Beginner (1000 - 1499 posts)

    Join Date
    Mar 2009
    Location
    West Yorkshire
    Posts
    1,112
    Rep Power
    487
    Originally Posted by requinix
    What did you try?
    He (she?) tried posting here in the hope that we're mind-readers and can fix the problem without so much as a line of code.
    "For if leisure and security were enjoyed by all alike, the great mass of human beings who are normally stupefied by poverty would become literate and would learn to think for themselves; and when once they had done this, they would sooner or later realise that the privileged minority had no function and they would sweep it away"
    - George Orwell, 1984

IMN logo majestic logo threadwatch logo seochat tools logo