syntax error - -- agghhh!

From: Date: Tue, 24 Apr 2001 15:49:57 +0000
Subject: syntax error - -- agghhh!
Groups: php.db 
Request: Send a blank email to php-db+get-8842@lists.php.net to get a copy of this message
Hi Anyone have any idea of what the syntax error in this statement is? else if (($op == "ds") && ($action == "sub") && ($password == $passnog) && ($password) && (!eregi("^([a-z0-9_]|\\-|\\.)+@(([a-z0-9_]|\\-)+\\.)+[a-z]{2,4}$",$email)) { It worked fine until I added the tricky part: && (!eregi("^([a-z0-9_]|\\-|\\.)+@(([a-z0-9_]|\\-)+\\.)+[a-z]{2,4}$",$email) -- Marc S. Bragg marc@chescolawyers.com Bialecki & Bragg, PC p: 610-444-7508 f: 610-444-7548 http://www.chescolawyers.com/BB "Chester County Legal Services" - "For All Your Legal Needs" http://www.bloody100th.com "WWII 101st Airborne Division" http://www.petercatalano.com "Soul of An Italian Artist"

« previous php.db (#8842) next »