[snip]
   {
    header("Location: http://www.xxxxxx.com/page1.php";
);
    print "You have errors";
    exit;
   }
  
  }
[/snip]

You either need to carry info about the error in a session variable or
url string or something...above your redirect happens before any error
can be sent to the browser....

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to