the scenario:
i'm passing variables via form to a query page. If someone leaves out some input, I want them redirected to the original page.
if ((!$var1) || (!$var2))
{
header("Location:original_page.php");
exit;
}
This works, but should I want to add a variable to indicate a certain type of error...how would I set one that's available to the original page?
(register_globals being on is not a concern for me. I'm working on a tiny intranet.)
thanks very much.