fbsql_db_status

(PHP 4 >= 4.1.0, PHP 5)

fbsql_db_status -- Get the status for a given database

Opis

int fbsql_db_status ( string database_name [, resource link_identifier] )

Gets the current status of the specified database.

Parametry

database_name

The database name.

link_identifier

Identyfikator połączenia FrontBase zwrócony przez fbsql_connect() lub fbsql_pconnect().

Jeśli link jest opcjonalny i nie zostanie podany, funkcja spróbuje znaleźć otwarte połączenie do serwera FrontBase i jeśli takiego połączenia nie znajdzie, spróbuje utworzyć je tak jak fbsql_connect() byłaby wywołana bez argumentów

Zwracane wartości

Returns an integer value with the current status. This can be one of the following constants:

Patrz także

fbsql_start_db()
fbsql_stop_db()