Re: PHP - Web/list Question...
| From: | Robert Cummings | Date: | Sun, 09 Nov 2008 07:16:29 +0000 |
| Subject: | Re: PHP - Web/list Question... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-283105@lists.php.net to get a copy of this message | ||
On Sat, 2008-11-08 at 20:26 -0800, bruce wrote:
> Hi.
>
> I've got a question/issue that I want to bounce off the list.
>
> I have a list that extends over multiple pages. there might be 200 items,
> and i don't want to have the items listed on the same page as it would be
> too long. i can break the list up, so i can have it be displayed over
> multiple pages. however, i want the user to select different items from the
> list. given that the selected items might be over different pages, what's
> the best way of keeping a running track of the items that have been
> selected??
>
> I could have each page be a form, and do a post/get where i then keep track
> of the selected items from page to page, but that would appear to get ugly.
> i'm looking for pointers to other sites/code that might have already
> implemented this kind of scenario.
>
> thoughts/pointers would be appreciated...
Accumulate them in the session. When done, and before final action you
could let them view a summary of selected items and allow deletion of
any entries they don't want.
Cheers,
Rob.
--
http://www.interjinn.com
Application and Templating Framework for PHP