>At 11:34 AM 12/10/03 -0400, cf coder wrote:
>>#DisplayItem#
>>
>>Now each time the page refreshes, the list will be reinitialised to its
>>original length, right. So your logic does'nt ever get executed, does it?
>>the list length will never be set to 0?
>
>Use a session variable for the list and/or the backup list. Those will
>remain through a page refresh.
>
>So something like:
>
>Page 1:
>Setup list and backup list as session variables.
>Call Page 2
>
>Page 2:
>Start loop.
> Check to see if the list is zero length. If it is, set it to the
>backup list, if not, leave as is.
> Pick a list position.
> Use ListGetAt to get the data you want.
> Use ListDeleteAt to delete that piece of data.
> Display data.
>End Loop.
>
>So set up your variables on one page and then call a second page to handle
>the display.
>
>Make sense?
>
>T
>
>Tired of your bookmarks/favourites being limited to one computer? Move
>them to the Net!
>www.stuffbythane.com/webfavourites makes it easy to keep all your
>favourites in one place and
>access them from any computer that's attached to the Internet.
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

