FrontBase
PHP Manual

fbsql_db_status

(PHP 4 >= 4.0.7, PHP 5)

fbsql_db_status — Get the status for a given database

说明

int fbsql_db_status ( string $database_name [, resource $link_identifier ] )

Gets the current status of the specified database.

参数

database_name

The database name.

link_identifier

A FrontBase link identifier returned by fbsql_connect() or fbsql_pconnect().

If optional and not specified, the function will try to find an open link to the FrontBase server and if no such link is found it will try to create one as if fbsql_connect() was called with no arguments

返回值

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

参见


FrontBase
PHP Manual