note 76314 deleted from function.header by felipe

From: Date: Sun, 30 Dec 2007 18:33:09 +0000
Subject: note 76314 deleted from function.header by felipe
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-134389@lists.php.net to get a copy of this message
Note Submitter: moehbass at gmail dot com ---- It says above: "Remember that header() must be called before any actual output is sent, either by normal HTML tags, blank lines in a file, or from PHP. ..." But check this out: this code runs fine: (take a closer look!) ... put your html stuff here ... Then this: if(isset($_POST['ok'])) { if(isset($_POST['yesNo'])) header('Location: http://www.google.com/'); else header('Location: http://www.yahoo.com/'); } You can see it live at: http://labella-pizza.com/header.php

« previous php.notes (#134389) next »