Perplexing Problem
| From: | James Atkinson | Date: | Wed, 06 Sep 2000 17:14:47 +0000 |
| Subject: | Perplexing Problem | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-15556@lists.php.net to get a copy of this message | ||
Greetings List,
I've been charged with an interesting task here at work and I need some
suggestions on how I would go about acomplishing what I have to do.
I'm building a form that searchs a database for a listing of memebers. That by
itself is easy. The search results must be listed on a page with no more then
10 results per page up to 100 results. That is also easy. This much I have
accomplished.
However, in each set of 10 the user can select any number of the search
results. The problem I"m having is how to retain the data from 1 page of
results to the next. Here's an example
User does a search. Gets 30 results, thus has 3 pages of data. The user selects
2 results from the first page, then goes to the second pages and selects 2
results. He then wants to go back and select another from the first page. How
do I keep track of what the user has selected?
The tool for selection is a simple checkbox, the 'Next Page'/'Previouse Page'
are just links (<a href = etc etc). Is there a way I can make the links work
like a form submit button? I'm really stuck here, I'm hoping someone can help
me out...
Thanks :)
--
James Atkinson
-----------------------------------------------------------------
James Atkinson 100world
Technical Developer 512-1529 West 6th Avenue
phone: +1-604-637-8122 Vancouver, BC, V6J 1R1
fax: +1-604-742-1770 Canada
email: james.atkinson@100world.com http://www.100world.com
+---------------------------------------------------------------+
| This message may contain confidential and/or privileged |
| information. If you are not the addressee or authorized to |
| receive this for the addressee, you must not use, copy, |
| discolse or take any action based on this message or any |
| information herein. If you have received this message in |
| error, please advise the sender immediately by reply e-mail |
| and delete this message. Thank you for you cooperation |
+---------------------------------------------------------------+