Home  >  Article  >  Backend Development  >  Which PHP function is used to release cursor memory associated with MySQL results?

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

PHPz
PHPzforward
2023-09-07 20:25:02664browse

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

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

Syntax

Mysql_free_result(result);

The following are the parameters used in this function:

Sr.No

Parameters and description

1

Result

Required - Specifies the result set identifier returned by mysql_query(), mysql_store_result(), or mysql_use_result()

The above is the detailed content of Which PHP function is used to release cursor memory associated with MySQL results?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:tutorialspoint.com. If there is any infringement, please contact admin@php.cn delete