At 17:17 01.04.2003, Andy spoke out and said: --------------------[snip]-------------------- >Thank you Ernest > >I am a little confused with the closing curly bracket after >$message_new = "$phone is not a valid phone number etc > >which one should i delete? >} > if (!ereg("^[0-9)(xX -]{7,20}$",$phone)) >{ > unset($do); > $message_new = "$phone is not a valid phone number. > Please try again."; > include("login_form.inc"); > exit();
directly here after the exit(); line. -- >O Ernest E. Vogelsinger (\) ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php