Re: form validation :ereg ()

From: Date: Thu, 01 Jan 1970 00:00:00 +0000
Subject: Re: form validation :ereg ()
Groups: php.general 
Request: Send a blank email to php-general+get-36903@lists.php.net to get a copy of this message
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: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net MailBR - O e-mail do Brasil -- http://www.mailbr.com.br Faça já o seu. É gratuito!!!

« previous php.general (#36903) next »