each row of the table has a button next to it. BUT this button is generated automatically it is not hard coded. i want it so that once the user selects a button that row which belongs to the button they clicked on to be displayed on the next page (the information from the columns)
At the moment it is displaying the last row of every table regardless of which button the user selects.
What should i do inorder to display the row of the table for which the user selected the button for?
|x||x||x||x||x||select button 1|
|y||y||y||y||y||select button 2|
for example the user selects the "select button 1" on the first row. on the next page they should see all the data 'x' NOT y.
but my code always displays the data for the last row. 'select button 2' data y.
how do i fix this so that the selected row i.e once select button 1 is selected all data for that row 'x' is presented on the next page.
URGENT HELP pls