Forum und email

msql_close

(PHP 4, PHP 5)

msql_close — Close mSQL connection

Popis

bool msql_close ([ resource $link_identifier ] )

msql_close() closes the non-persistent connection to the mSQL server that's associated with the specified link identifier.

Using msql_close() isn't usually necessary, as non-persistent open links are automatically closed at the end of the script's execution. See also freeing resources.

Parametre

link_identifier

Pripojenie k mSQL. Ak nie je zadaný, predpokladá sa posledné spojenie otvorené s msql_connect(). Ak také spojenie nie je nájdené, pokúsi sa jedno vytvoriť ako keby bolo volané msql_connect(), a bude použité.

Vrátené hodnoty

Vracia TRUE pri úspechu alebe FALSE pri chybe.