I’ve got a script that dynamically calls and displays images from a directory, what would be the best way to paginate this? I’d like to be able to control the number of images that are displayed per page through a variable within the script. I’m thinking of using URL varriables (ie – http://domain.com/page.php?page=1) but am unsure how to go about this.
Thanks for the help.
pagination is the same concept with or without sql. you just need your basic variables, then you can create the content you want. here’s some quasi-code:
hope that helps you get started!