ok, basically this is so I can implement page numbering on my search results, the user submits the form and I want to be able to send the form results back to the same page when the user clicks 'next' or 'previous'.
I have tried putting this at the top of the page: $_SESSION['post'] = $_POST; $_POST = $_SESSION['post']; but this doesn't work, any ideas? Thanks for your help "Adam Voigt" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > <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