哪個 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.