Which PHP function is used to release cursor memory associated with MySQL result?


PHP uses mysql_free_result() function to release the cursor memory associated with MySQL result. It returns no value.

Syntax

Mysql_free_result(result);

Followings are the parameters used in this function −

Sr.No
Parameter & Description
1
Result
Required- Specifies a result set identifier returned by mysql_query(), mysql_store_result() or mysql_use_result()

Updated on: 22-Jun-2020

146 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements