I am trying to code an image galler and am running into a couple problems. I have created a class ImgGallery. This class contains function to addImages and to print the Image gallery table. I want to build previous and next buttons if the number of images exceeds 20. Is it possible to pass an array to the next page. Exaple http://www.domain.com/imggal.php?images=$anArray , would that work? If not is there any simple solution?
I seem to be telling lots of people this exact same thing today... why can't you just register the array in a session variable? Then it will be accessible to all of your pages that call session_start() at the top...
-Will
Have fun with the gallery - they're quite involving:
http://www.joliet.co.uk/browse/
automatic thumbnail-generation, sql-based image browser with dynamic server-side zooming, and web-based management. phew. 😉