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

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: 2020-06-22T14:06:01+05:30

213 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements