prepare("select id, image, price, name, description from webs.product where id = ?"); $statement->bind_param("i", $_GET['id']); if (!$statement->execute()) refuse(); $res = $statement->get_result(); if (!mysqli_num_rows($res)) refuse(); $product = $res->fetch_object(); ?>