©
Ce document utilise Manuel du site Web PHP chinois Libérer
(PECL ingres >= 2.0.0)
ingres_free_result — Free the resources associated with a result identifier
$result
)
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 )
?>