"; //echo $category_id."
"; // Delete the product from the database if ($product_id != false && $category_id != false) { $query = 'DELETE FROM products WHERE productID = :product_id'; $statement = $db->prepare($query); $statement->bindValue(':product_id', $product_id); $success = $statement->execute(); $statement->closeCursor(); } include('eg009c_index.php'); ?>