Ok, so I have scoured the net and don't seem to find an answer. . . .
I am trying to figure out how to select all records from a table, but only show one specific id. So, yeah, I can add the WHERE id = $id to the query, but then I only get the one record.
What I'm getting at is that I want to add the typical PREV and NEXT links to the entire recordset. So the user can view the one entry they asked for but then keep browsing the database.
if I just get 'em all, then I need to find and display only the one I want. So, I need to loop through the recordset, find the matching record, and figure out what position that is in the overall recordset so I can build the PREV/NEXT links.
Make sense?? I hope so. Sorry if this has been done before. I have looked here and elsewhere, but in my feeble brain, I still can't make sense of it.
Thanks greatly,
John