Re: Resending POST Variables
| From: | Adam Voigt | Date: | Wed, 28 May 2003 16:29:40 +0000 |
| Subject: | Re: Resending POST Variables | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-149278@lists.php.net to get a copy of this message | ||
<form name="form1" method="post" action="nextpage.php">
<?php
foreach($_POST AS $key => $value)
echo "<input type=\"hidden\" name=\"$key\"
value=\"$value\">";
?>
</form>
<a href="javascript:document.form1.submit();">Submit Again</a>
Like that?
On Wed, 2003-05-28 at 12:22, Shaun wrote:
> Hi,
>
> I have a page which uses POST variables sent from a form. If a user clicks
> on a link on this page is it possible to send those POST variables to the
> next page aswell?
>
> Thanks for your help
--
Adam Voigt (adam@cryptocomm.com)
Linux/Unix Network Administrator
The Cryptocomm Group