ingres_free_result

(PECL ingres >= 2.0.0)
Free the resources associated with a result identifier
bool ingres_free_result ( resource $result )
Parameters:
result

The query result identifier

Returns:

Returns TRUE on success or FALSE on failure.

Examples:
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)

?>

See also:

ingres_query() -

doc_php
2016-02-24 16:17:01
Comments
Leave a Comment

Please login to continue.