(PHP 4 >= 4.1.0)

fbsql_db_status -- Get the status for a given database


int fbsql_db_status ( string database_name [, resource link_identifier])

Returns: An integer value with the current status.

fbsql_db_status() requests the current status of the database specified by database_name. If the link_identifier is omitted the default link_identifier will be used.

The return value can be one of the following constants:

See also: fbsql_start_db() and fbsql_stop_db().