略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: ingres_free_result

2024-04-26

ingres_free_result

(PECL ingres >= 2.0.0)

ingres_free_resultFree the resources associated with a result identifier

说明

ingres_free_result ( resource $result ) : bool

参数

result

The query result identifier

返回值

成功时返回 TRUE, 或者在失败时返回 FALSE

范例

Example #1 Free a result resource

<?php
$link 
ingres_connect($database$user$password);

$result ingres_query($link"select * from table");

while (
$row ingres_fetch_row($result)) {
    echo 
$row[1];
    echo 
$row[2];
}
ingres_free_result($result);

ingres_close($link)

?>

参见

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/function.ingres-free-result.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3