Procedural style:
Object oriented style (all methods are equivalent):
mysqli_result {
void free();
void close();
void free_result();
}
Frees the memory associated with the result.
Note:
You should always free your result with
mysqli_free_result(), when your result object is not
needed anymore.
Return Values
No value is returned.