Why doesn't this work? <?
if ($_POST['var'] == "this") {
header("Location: scipt1.php"); }
if ($_POST['var'] == "that") {
header(Location: script2.php"); }
?>
If I select "that" from the form submitting the value to "var" I get a
header already sent error. There is nothing else above these statments in
my script.
Thanks,
Ed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

