Jump to content


Photo

using capitals


  • Please log in to reply
2 replies to this topic

#1 brown2005

brown2005
  • Members
  • PipPipPip
  • Advanced Member
  • 943 posts

Posted 07 June 2006 - 12:00 PM

If someone inputs say a road name in lower case, as below;

road name

how can i change it to, the first letters of each word to upper case as below;

Road Name

before inputting it into a database.

Thanks

#2 AndyB

AndyB
  • Staff Alumni
  • Advanced Member
  • 5,465 posts
  • LocationToronto

Posted 07 June 2006 - 12:02 PM

in the manual - ucwords() - [a href=\"http://ca.php.net/manual/en/function.ucwords.php\" target=\"_blank\"]http://ca.php.net/manual/en/function.ucwords.php[/a]
Legend has it that reading the manual never killed anyone.
My site

#3 brown2005

brown2005
  • Members
  • PipPipPip
  • Advanced Member
  • 943 posts

Posted 07 June 2006 - 12:10 PM

THANKS VERY MUCH




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users