note 80704 deleted from function.header by tularis
| From: | tularis@php.net | Date: | Mon, 12 May 2008 10:22:00 +0000 |
| Subject: | note 80704 deleted from function.header by tularis | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-139304@lists.php.net to get a copy of this message | ||
Note Submitter: daniel at stonek dot com
----
Correction to asaucier777 at mac dot com note's
You cannot output anything before header(), so you have to invert the order of the two lines. This
is fine:
header("Refresh: 3; url=index.php"); // waits 3 seconds & sends to homepage
print(" <p align=\"center\"> User Not
Found</p><br><br>"); // err msg