msql_free_result

(PHP 3, PHP 4, PHP 5)

msql_free_result -- Free result memory

说明

bool msql_free_result ( resource result )

msql_free_result() frees the memory associated with query_identifier. When PHP completes a request, this memory is freed automatically, so you only need to call this function when you want to make sure you don't use too much memory while the script is running.

参数

result

返回类型为 resource 的结果集。该结果集从 msql_query() 的调用中得到。

返回值

如果成功则返回 TRUE,失败则返回 FALSE