How to make a clickable table row and refer to another page with data from that row?

My webpage generates an table automatically. It’s getting it’s data from a SQL database using php. This works so far. For example the table contains this:

ID Object 1 House 2 Castle

I want to make it possible to click on one row and refer to another page with more data about that object. So if you click the row 1 House I want to use the ID 1 as the key to do a new database request in another table with ID 1 and fill the page with the other information.

I hope this is clear enough and i would like to hear your suggestions!

Professor Asked on November 9, 2020 in php.
Add Comment
0 Answer(s)

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.