Using $result = $mysqli->use_result();
$row = $result->fetch_row();
php code starts ---
multi_query($query)) {
do{
/* store first result set */
if ($result = $mysqli->use_result()) {
while ($row = $result->fetch_row()) {
echo"
29.25 0C :: ". $row[0] . "0F";
}
$result->close();
}
} while ($mysqli->next_result());
}
/* close connection */
echo "
closing DB at the end";
$mysqli->close();
?>
php code ends