resource fbsql_db_query(string $database, string $query[, resource $link_identifier])
Selects a database and executes a query on it.
Returns a positive FrontBase result identifier to the query result, or
FALSE on error.
- string $database: The database to be selected.
- string $query: The SQL query to be executed.
The query string shall always end with a semicolon.
- resource $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.
- The query string shall always end with a semicolon.