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 the user to the page of
needs.
Johannes
""Hector M Banda"" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
004801c0c84a$fee799a0$[EMAIL PROTECTED]">news:004801c0c84a$fee799a0$[EMAIL PROTECTED]...
Hi all,
I have a simple form where I capture the information from users. Once the
information is captured, I'd like to send the users the the main page. I
already tried the header command but I get an error like this:
Warning: Cannot add header information - headers already sent by (output
started at page.php:42) in page.php on line 45
Any ideas?
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]