function show_detail($pid) { $prod = new Product(); $results = $prod->show_one_prod($pid); include 'details_product_view.php'; }