I'm not quite sure how to get an error message to
print out after a redirect.  I know it's possible.
Now page1 moves to page2, check below is on page2
If I leave it on page2 (without redirect), it prints
error to user fine.  Once it redirects no print.  
I also tried leaving it on form1, at the top it won't
work, since the variables haven't been set yet.  
Not sure how to let it post form 1 to form 1 check and
then on success move to form 2.



 {
      // valid - next -
   }
   else
   {
    header("Location: http://www.xxxxxx.com/page1.php";
);
    print "You have errors";
    exit;
   }
  
  }
?>

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

Reply via email to