At 02:03 PM 4/18/2001 -0700, Hector M Banda wrote:
Warning: Cannot add header information - headers already sent by
(output started at page.php:42) in page.php on line 45
What's at line 42 of page.php?
Cheers
-
header("location: http://www.need-info.com");
- Original Message -
From: "Ron Brogden" [EMAIL PROTECTED]
To: "Hector M Banda" [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Wednesday, April 18, 2001 2:08 PM
Subject: Re: [PHP-DB] How to redirect a user to main page once I capture his
info in
Hi,
you have output in line 42. any html stuff. You have to send haeder
information
before any output. If you capture the info via a form you can make a
seperate
capturing script (not $PHP_SELF) to enter the info into a DB and at the end
of this
-after successfully inserting the data- redirect