Code example 3 function get_product($product_id) { global…
Questions
Cоde exаmple 3 functiоn get_prоduct($product_id) { globаl $db; $query = 'SELECT * FROM products WHERE productID = :product_id'; $stаtement = $db->prepare($query); $statement->bindValue(':product_id', $product_id); $statement->execute(); $product = $statement->fetch(); $statement->closeCursor(); return $product;} (Refer to code example 3) Which of the following is a proper PHP statement for calling the function in this example.