Welcome to WebmasterWorld Guest from 54.144.77.26

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

Capitalising with PHP

Can it be done?

     

ahmedtheking

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

WebmasterWorld Senior Member 10+ Year Member



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))

mavherick

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

10+ Year Member



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

ucwords [php.net]

mavherick

ahmedtheking

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

WebmasterWorld Senior Member 10+ Year Member



Perfect! Thanks!