RE: [PHP] Help with forms data please
| From: | Jay Blanchard | Date: | Wed, 12 Jun 2002 11:43:13 +0000 |
| Subject: | RE: [PHP] Help with forms data please | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-101713@lists.php.net to get a copy of this message | ||
[snip]
I need to send the data from a form without taking the surfer to that page.
ie:
form on ' formPage.php '
with
<form name='foo' method='post' action='../newUser.php'>
but leave the user on ' formPage.php'
Any way to do that?
[/snip]
At the end of newUser.php do a header redirect, i.e.
header("Location: formPage.php"); exit;
Make sure that newUser.php does not send anything to output before the
header.
HTH!
Jay