Banfa,
Thank you so much for your input. I did fix my problem using your suggestion of changing the ID variable name - that helped to cut the confusion as I now have distinct id numbers for each of my tables. I also used your "LIMIT $id, 1" and an ORDER BY clause and got my navigation to work. I did not realize that a variable could be used in the limit clause, so thanks again!!
Have a great day! :)
User Profile
Collapse
-
links for next or previous in category - PHP
Looking for a little assistance in understanding what I am missing!
Using PHP/MySql to allow users to browse through items in a gallery. Clicking 'next' and 'previous' links works fine using the item ID number to sequentially see all items.
Trouble arises when category and ID variables are passed. I'm thoroughly confused on how to let the user click a 'next' link after they have entered a category page in order to see...
No activity results to display
Show More
Leave a comment: