I'm trying to link one php file to another one. The first file, which is a query result of one mysql command, contains introduction of all the products.
When the "Details" button is clicked, I want the page to be redirected to another php file, which accepts the query result (ID, name) from the first file and output the detailed information.
Now I'm stuck at the "button" step. Could anyone help me to link the two files?
<div><button href = "Product_details.php" type="submit" name="Details" class="btn btn-default">Details</button></div>