Hi again!

I still did not fix my prob :
I want to check, in a form, that the name input may include an alphabetical 
letter a- z, A-Z, or a space, or -, or �, or � or � etc
how can i do that ? i used   ereg("([a-z,A-Z][�,�]?)",$name) then
(!ereg("([a-z,A-Z,�,�,�,�,-,\t,�,�,�,�,�,�,�,�])", $name))
i get the following warnin :REG_ERANGE:,invalid character range
by the way how to add space " " and "-" ?

Please help!

Thanks


_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to