fetch()
// Returns an array for the next row in the result set. This array
// is indexed by both a string index for the column name and a numeric
// index for the column position. If no array is available, this
// method returns a FALSE value.
closeCursor()
// Closes the cursor and frees the connection to the server so
// other SQL statements may be issued.
$query = "SELECT productCode, productName, listPrice
FROM products
WHERE productID = :product_id";
$statement = $db->prepare($query);
$statement->bindValue(':product_id', $product_id);
$statement->execute();
$product = $statement->fetch();
$statement->closeCursor();