mysqli_free_result.php
<?php
$mysqli = new mysqli();
$mysqli->connect("127.0.0.1", "root","", "mydatabase");
$query = "SELECT productid, name, price FROM product ORDER by name";
$mysqli->query($query);
$result->free();
?>
Related examples in the same category