Hi !
I've a little coding prob and no idea how to solve it. Perhaps someone could give me a little hint? ;o)
I want to make an image gallery with different dynamic categories. All infos (categories and image-infos) are stored in a mysql-database.
I have 3 php-files:
1. index.php - shows all categories
2. showcat.php - shows the images of the cat chosen.
3. showimg.php - shows the image and infos
So far - so good. ;o)
My problem is the "previous" and "next" button on the showimg-page. On the showimg-page I know the ID of the current image but not the ID's of the previous and the next image.
Would be no problem if the images are displayed ordered by their ID, but they are ordered by date (Y-m-d) added.
And the next problem is how to find out, when the is a "page break" on the showcat-page, when sliding through the images on showimg.php. (For the link back to the showcat.php.)
Hope someone understands my prob and could give me a little support...
thx
Petra