Well what I would like to do is to call the database data to display only the main data in a table, and in that same table have the preview button where as long as I press it it opens a window with the rest of the database information. The part of displaying the main information I have already done, but I do not know how to make it open another window and display the rest of the information of that id.
This is the table that shows the DB information already with the button to open another window with the rest of the DB information:
]
Thisisthepartofthecodethatdisplaystheinformation: