Forum und email
msql_close

msql_close

(PHP 3, PHP 4, PHP 5)

msql_close -- Close mSQL connection

Opis

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.

Parametry

identyfikator_połączenia

Połączenie mSQL. Jeśli nie zostanie podany, używane jest ostatnie połączenie otwarte przez msql_connect(). Jeśli nie zostanie ono znalezione, funkcja spróbuje nawiązać połączenie tak, jakby wywołana została funkcja msql_connect(), i użyje je.

Zwracane wartości

Zwraca TRUE w przypadku sukcesu, FALSE w przypadku porażki.