Re: [PHP] adding Back to Search results link

2007-08-16 Thread Derek
From: [EMAIL PROTECTED] Date: Wed, 15 Aug 2007 15:44:46 -0500 Subject: Re: [PHP] adding Back to Search results link Jim and Brad. Thanks for the feedback. I was thinking it was something simple like a back button. But the problem that arises when I use this method is on Form 3. If I go through

Re: [PHP] adding Back to Search results link

2007-08-16 Thread Derek
Thanks for the help, Kirk. The form 2 uses a _GET to call the information from Form 1. So you select the serach criteria on Form 1, Form 2 returns the criteria, Form 3 is the result of a selection made on Form 2. And for some reason I can't pass that Query String from Form 1 into Form 3. I

Re[2]: [PHP] adding Back to Search results link

2007-08-16 Thread Tom Rogers
Hi, Thursday, August 16, 2007, 6:44:46 AM, you wrote: D Jim and Brad. D Thanks for the feedback. I was thinking it was something simple like a back D button. But the problem that arises when I use this method is on Form 3. D If I go through the steps, and make a change to an item on Form 3.

[PHP] adding Back to Search results link

2007-08-15 Thread Derek Moon
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

Re: [PHP] adding Back to Search results link

2007-08-15 Thread Brad Bonkoski
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

Re: [PHP] adding Back to Search results link

2007-08-15 Thread Jim Lucas
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

Re: [PHP] adding Back to Search results link

2007-08-15 Thread Derek
Jim and Brad. Thanks for the feedback. I was thinking it was something simple like a back button. But the problem that arises when I use this method is on Form 3. If I go through the steps, and make a change to an item on Form 3. Then use the a href=javascript:history.go(-2);Return to search

RE: [PHP] adding Back to Search results link

2007-08-15 Thread Bastien Koert
what about hadding the search form elements to the results page and letting the users search right from there bastien To: php-general@lists.php.net From: [EMAIL PROTECTED] Date: Wed, 15 Aug 2007 15:44:46 -0500 Subject: Re: [PHP] adding Back to Search results link Jim and Brad. Thanks

Re: [PHP] adding Back to Search results link

2007-08-15 Thread Kirk Friggstad
Derek: Does form 1 use POST or GET to call form 2? If it uses GET, you could store the search page URL in a $_SESSION variable - something like this in your search results (form 2): $_SESSION['search_results_querystring'] = $_SERVER['QUERY_STRING']; and in your editing page (form 3): a