Welcome to WebmasterWorld Guest from 54.198.114.138

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

Capitalising with PHP

Can it be done?

     
12:15 pm on Mar 10, 2005 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:June 12, 2004
posts:789
votes: 0


Is there a way to capitalise words with PHP? (this is for use within the <title> and within the database (eg for people's names))
12:23 pm on Mar 10, 2005 (gmt 0)

Junior Member

10+ Year Member

joined:June 3, 2002
posts:169
votes: 0


That's probably the function you're looking for:

ucwords [php.net]

mavherick

12:35 pm on Mar 10, 2005 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:June 12, 2004
posts:789
votes: 0


Perfect! Thanks!