I am somewhat new to PHP, but really like it so far. I have created a database (MySQL) and upload/edit pages enabling the user to upload photos and descriptions. Outputing them in a gallery format is not a problem. What I am struggling with is when there are many photos. I would like to keep the gallery pages to 20 images. If there are 50 images in the database, how would I write a code to continue the gallery on subsequent pages? Keeping in mind that the database is user defined and can change in quantity, so the subsequent pages and links would be dynamic.
Thanks in advance for any help or suggestions.
Thanks in advance for any help or suggestions.
Comment