Forum und email

ingres_close

(PHP 4 >= 4.0.2, PHP 5 <= 5.0.5, PECL ingres:1.0-1.4.3)

ingres_close — Close an Ingres II database connection

說明

bool ingres_close ([ resource $link ] )

ingres_close() closes the connection to the Ingres server that's associated with the specified link.

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.

參數

link

The connection link identifier. If not specified, the last opened link is used.

Return值

如果成功則回傳 TRUE,失敗則回傳 FALSE