PHP. Руководство по PHP. 2005
fbsql_db_query
fbsql_db_query
Описание
resource fbsql_db_query (string database, string query [, resource link_identifier])Returns: A positive FrontBase result identifier to the query result, or FALSE on error.
fbsql_db_query() selects a database and executes a query on it. If the optional link identifier isn't specified, the function will try to find an open link to the FrontBase server and if no such link is found it'll try to create one as if fbsql_connect() was called with no arguments
See also fbsql_connect().
fbsql_database
fbsql_db_status