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]