PHP 手册
上一页 |  | 下一页

# fbsql_db_query

(PHP 4 >= 4.0.6, PHP 5)

fbsql_db_query -- Send a FrontBase query

## 说明

resource fbsql_db_query ( string database, string query [, resource link_identifier] )

Selects a database and executes a query on it.

## 参数

`database`

  The database to be selected.

`query`

  The SQL query to be executed.

  > 注意: The query string shall always end with a semicolon.

`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 a positive FrontBase result identifier to the query result, or `FALSE` on error.

## 参见

fbsql_query()
fbsql_connect()

上一页 | 起始页 | 下一页
fbsql_database | 上一级 | fbsql_db_status