无涯教程-PHP - free result函数

66 阅读1分钟

free_result - 语法

bool odbc_free_result ( resource $result_id )

它包含与输出关联的自由输出的信息

Sr.No 参数 & 描述
1

result_id

它包含有关输出标识符的信息

free_result - 返回值

它返回始终为true

free_result - 示例

<?php
   $input_ID=odbc_connect("DSN","user_id","pass_id");
   $result=odbc_exec($input_ID,"SELECT * FROM Products ORDER BY ProductName");

odbc_free_result($result); ?>

参考链接

www.learnfk.com/php/php-fun…