How can I pass this variable and its contents so they are usable to the next web page?
The short answer is that you can't pass resources back and forth between pages. You could consider passing the current index, rerunning the query, and seeking to the new index.
OR, you could have it all done for you with: http://pear.php.net/package/DB_Pager
Not only does this do you "paging" for you, it gets you started using DB, a database abstraction class that gives you a standard interface for all databases, lots of useful utility functions, and allows you to switch databases if you need to with minimal change to your code.
Or if you don't want ot use DB, you can just use the Pager: http://pear.php.net/package/Pager
-- paperCrane <Justin Patrin>
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php