Re: Mutiple header statements?
| From: | Marek Kilimajer | Date: | Wed, 30 Oct 2002 17:08:31 +0000 |
| Subject: | Re: Mutiple header statements? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-122053@lists.php.net to get a copy of this message | ||
I suppose this is just an excerpt, could you paste some more code here?
ed@home.homes2see.com wrote:
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