Jump to content


Photo

Help changing a letter to a capital


  • Please log in to reply
1 reply to this topic

#1 brown2005

brown2005
  • Members
  • PipPipPip
  • Advanced Member
  • 943 posts

Posted 06 June 2006 - 11:48 AM

Hi,

What I want to do is if someone enters say

simon

in a text box to register, i want it to be changed to

Simon

with a capital at the front, any help please?

#2 witt

witt
  • Members
  • PipPipPip
  • Advanced Member
  • 36 posts

Posted 06 June 2006 - 11:49 AM

$name = ucfirst($name);




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users