Re: Mutiple header statements?

From: Date: Wed, 30 Oct 2002 13:08:22 +0000
Subject: Re: Mutiple header statements?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-122051@lists.php.net to get a copy of this message
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." Ed

« previous php.general (#122051) next »