php pattern problem for NAME using all character (not include any noncharacters)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Fareast Adam
    New Member
    • Feb 2007
    • 51

    php pattern problem for NAME using all character (not include any noncharacters)

    Firstly, i have to capture name from textfield that have been submit then insert into db. Before inserting into db, i have to convert all the text into my own standard text, like below:
    1. first letter must be big caps
    3. both letter seperate with single spacing
    2. support all unique char like " ' ", " @ "
    ex1: Mc'Downy@Michel e Graham
    ex2: Ali bin Mahmood

    How can i do that? Any idea?
Working...