prepare($query); $statement->bindValue(':price', $price); $statement->bindValue(':product_id', $product_id); $row_count = $statement->execute(); $statement->closeCursor(); ?>