Excuse the complete newbie question. I am building a photo gallery using PHP and MySQL. I have the thumbnail page and the large photo page and when I show one of the photographs I wish to put a "next" and "previous" link on the page. Do I need to put these in a form so that I can send the id of the photograph to the next page to query the database for the next or previous photo.
You can send this info via a link. For example: photo_gallery.php?photoID=4 Make sure you strip the tags on this get request, however, as it could lead to XSS in your web application. Cheers, Louis