You could do something with a link in the product listing, to be processed by the script in the target page, such as
//for each product while the table is building from the query result array...
echo( "<a href=\"product_detail.php?product_id=" . $result_array['product_key'] . "\">View Details</a>" );
Then in product_detail.php
//sanitize the input since it could be manipulated by the user
$product_id = mysqli_real_escape_string($dbc, trim($_REQUEST['product_id']));
$query = "SELECT (fields you want to display) FROM table_with_details where product_id = '" . $product_id . "'";
$result = mysqli_query($dbc, $query);
while ( $array = mysqli_fetch_assoc($result) {
echo( " (build your result display table/spans/divs/whatever) " );
}