I have a simple PHP script that reads the contents of a directory (photos) and displays them on a webpage.
Right now, it will grab all of the photos and display them on one page.
What I would like the script to do is, if there are more than 16 photos to be displayed, break them up into different pages with 16 photos on each. I also want to dynamically display page numbers on the bottom of the page, based on the number of photos and pages displayed.
You can look here: [url removed, login to view] and on the bottom left you will see page numbers ... this is what I want my script to do based on how many photos are to be displayed.
so if I had only 10 photos, it would be one page with no links to additional pages on the bottom. If I had 46 for example, it would show page 1,2 & 3 on the bottom. Page one would display the first 16, page 2 would display the next 16 and page 3 would display the remaining 14.
9 freelancer bu iş için ortalamada 25$ teklif veriyor
Hello, Ready to start and complete very soon. We will listing images in x numbers with automatic pagination. Looking for your selection. Thanks, Webtechno09
Hello sir, I am a software Engineer and I have 3 year of work experience I can done this task easily for you. Tell me further detail of work. Thanks.