哪個 PHP 函式用於釋放與 MySQL 查詢結果關聯的遊標記憶體?


PHP 使用 mysql_free_result() 函式釋放與 MySQL 結果關聯的遊標記憶體。它不返回值。

語法

Mysql_free_result(result);

以下是本函式使用的引數:

序號
引數與說明
1
結果
必需,指定由 mysql_query(),mysql_store_result() 或 mysql_use_result() 返回的結果集識別符號

更新日期:2020 年 6 月 22 日

181 次瀏覽

開啟你的 職業

透過完成課程獲得認證

開始
廣告
© . All rights reserved.