php-general | 2003022
Date: 02/24/03
- Next message: Dan Hardiker: "[PHP] Piping to a PHP cgi-binary... broken in v4.3.2?"
- Previous message: Sami Kyösti: "Re: [PHP] Live chat screen[Scanned]"
- In reply to: Edward Peloke: "[PHP] dynamic list box"
- Next in thread: Edward Peloke: "RE: [PHP] dynamic list box"
- Reply: Edward Peloke: "RE: [PHP] dynamic list box"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> I have an sql statement that pulls data into a dynamic list box, the
problem
> is, I have this list box twice on my form, since the query returns a lot
of
> rows, I do not want to have the query executed twice but I populate my
list
> box using the while loop so when it is time for the second list box, the
> query is already at end of file. I tried to get my result then just copy
> that to another array but that doesn't seem to work, any one have any
ideas?
mysql_data_seek() or put it into an array and loop through it twice.
---John Holmes...
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
- Next message: Dan Hardiker: "[PHP] Piping to a PHP cgi-binary... broken in v4.3.2?"
- Previous message: Sami Kyösti: "Re: [PHP] Live chat screen[Scanned]"
- In reply to: Edward Peloke: "[PHP] dynamic list box"
- Next in thread: Edward Peloke: "RE: [PHP] dynamic list box"
- Reply: Edward Peloke: "RE: [PHP] dynamic list box"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

