Forums

PHP

This topic is locked

open directory, limit results w/NEXT and BACK link

Posted 29 Jan 2004 03:43:28
1
has voted
29 Jan 2004 03:43:28 A D posted:
I've looked everywhere for a solution to this, but everything I see is written for use with MySQL.

I've built a gallery that opens a directory and outputs thumbs 4 across and 'x' down (however many are in the directory). What I need to do is limit the thumbs to 20 per page and if they exceed 20 I need NEXT and BACK links to appear. Is this even possible with a directory listing or is this only doable w/a MySQL database.

Reply to this topic