PHP Manual
Prev |  | Next

# ingres_close

(PHP 4 >= 4.0.2)

ingres_close -- Close an Ingres II database connection

## Description

``bool ingres_close` ([resource link])`

Warning
This function is EXPERIMENTAL. The behaviour of this function, the name of this function, and anything else documented about this function may change in a future release of PHP without notice. Be warned and use this function at your own risk.

Returns `TRUE` on success, or `FALSE` on failure.

ingres_close() closes the connection to the Ingres server that's associated with the specified link. If the `link` parameter isn't specified, the last opened link is used.

ingres_close() isn't usually necessary, as it won't close persistent connections and all non-persistent connections are automatically closed at the end of the script.

See also ingres_connect() and ingres_pconnect().

Prev | Home | Next
ingres_pconnect | Up | ingres_query