Hello everyone,
I'm creating a document management web application which allows users to search for documents. Document records containing the details of each document is in the SQL database table. The search returns a list of sets of two links like:
1) Result1's Title | View details
2) Result2's Title | View details
etc.
Clicking on the Title downloads the document, and clicking on 'View details' is supposed to take the user to a page that displays all the document's details.
My question is, how can I identify which 'View details' was clicked and so display the details of the appropriate document?
I wondered if I could make the id of the 'View details' hyperlink the primary key of each document and use this somehow, but I'm not sure how that would work.
Any suggestions would be greatly appreciated.