> On Wed, 30 Oct 2002, Rick Emery wrote:
>
> > <?
> >
> > if ($_POST['var'] == "this") {
> > header("Location: scipt1.php");  exit;}
> >
> > if ($_POST['var'] == "that") {
> > header(Location: script2.php"); exit; }
>
> Nope, I still get a header already sent error if I choose "that."

WHAT IS THE ERROR?? It tells you _exactly_ in the header error message where
the output was started. Look on or near that line because it caused some
output to the browser and now headers cannot be sent.

---John Holmes..


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

Reply via email to