<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 ([EMAIL PROTECTED])
Linux/Unix Network Administrator
The Cryptocomm Group


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to