PHP 8.1.0 Beta 1 available for testing


(PHP 4 >= 4.0.6, PHP 5 < 5.3.0)

fbsql_db_querySend a FrontBase query


fbsql_db_query(string $database, string $query, resource $link_identifier = ?): resource

Selects a database and executes a query on it.



The database to be selected.


The SQL query to be executed.


The query string shall always end with a semicolon.


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.

Return Values

Returns a positive FrontBase result identifier to the query result, or false on error.

See Also

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top