The mysqli_free_result() function frees the memory associated with the result.
Fetch rows from a result-set, then free the memory associated with the result:
Parameter | Description |
---|---|
result | Required. Specifies a result set identifier returned by mysqli_query(), mysqli_store_result() or mysqli_use_result() |