哪個 PHP 函式用於釋放與 MySQL 查詢結果關聯的遊標記憶體?
PHP 使用 mysql_free_result() 函式釋放與 MySQL 結果關聯的遊標記憶體。它不返回值。
語法
Mysql_free_result(result);
以下是本函式使用的引數:
| 序號 | 引數與說明 |
| 1 | 結果 必需,指定由 mysql_query(),mysql_store_result() 或 mysql_use_result() 返回的結果集識別符號 |
廣告
PHP 使用 mysql_free_result() 函式釋放與 MySQL 結果關聯的遊標記憶體。它不返回值。
Mysql_free_result(result);
以下是本函式使用的引數:
| 序號 | 引數與說明 |
| 1 | 結果 必需,指定由 mysql_query(),mysql_store_result() 或 mysql_use_result() 返回的結果集識別符號 |