Help - Search - Member List - Calendar
Full Version: image gallery
WorkTheWeb Forums > Webmaster Resources > PHP Help
Support our Sponsors!
Boco
I am trying to write an image gallery, but I cant figure out how to work it.
I want to have it read a directory and print 4 pictures per page without
repeating any of them. How can this be accomplished without SQL?

Thanks

Geoff Berrow
I noticed that Message-ID: <WJnte.1843$[Email Removed]> from Boco
contained the following:

QUOTE
I am trying to write an image gallery, but I cant figure out how to work it.
I want to have it read a directory and print 4 pictures per page without
repeating any of them. How can this be accomplished without SQL?

Store details of the images in an array stored as a session variable.
Remove images from session variable once displayed.
--
Geoff Berrow 0110001001101100010000000110
001101101011011001000110111101100111001011
100110001101101111001011100111010101101011


PHP Help | Linux Help | Web Hosting | Reseller Hosting | SSL Hosting
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2006 Invision Power Services, Inc.