Menu
I think this is a PHP question, and not MySQL?
I have a MySQL database which I’m searching via PHP, and it produces a list perfectly well.
I want to be able to click on a button on any of the found records in the list, to go to a detail page for that record.
I have a problem:
The ID field I’m passing as a hidden field is always from the last record in the list, regardless of which record’s button I click. I imgaine this is because by the time the button is pressed, the ID field has been incremented? But how do I get round it please?
Many thanks in advance. 🙂