Re: adding "Back to Search results" link

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Something like this might work:
<a href="javascript:history.go(-1)">
(To go back 1 page)
Of course if this is a form post, it would repost the data resulting in that annoying pop-up on most browsers indicating the page is being re-posted.

Maybe you could write out the post variables to the session variables, and have your page 2 look for the $_POST and $_SESSION for the variables in question...

-B

Derek Moon wrote:
I am trying to imporve a web application that my group uses.

Basically there are 3 forms that work together Form 1 > form 2

Form 1 - searchs for enterend values
Form 2 - returns search results, letting you individually select any item
Form 3 - lets you edit a specific individual item

I want to make a link on the Form 3 that returns you to form Form 2
basically a "Back to Search results" link.

I'm thinking that there is a way to pass the query string, but I am a newbie and I'm not sure that I am going about this the right way.

Anyone have any advice or knowledge to share?

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux