Hi!
I think you u put ereg("([a-z,A-Z][ë,à]?)",$firstname)
The point is the question mark "?" because it means that it's not
request...
Try it..I hope it will work!
Felipe Lopes
Em Fri, 26 Jan 2001 17:02:12 -0000 "kaab kaoutar" Escreveu:
> Can u please help!
>
> well i want to check that a word is composed of the alphabet and also
à
> and
> ë
> i used :ereg("[a-Zée"èë àäï-üöûâêç]", $firstname)
> but i have an error i know that ereg("[a-Z]",$firstname) alone is ok
but
> how
> to add the ë and à ?
>
> 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]
MailBR - O e-mail do Brasil -- http://www.mailbr.com.br
Faça já o seu. É gratuito!!!
--
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]