downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

fbsql_db_status> <fbsql_database
[edit] Last updated: Fri, 17 May 2013

view this page in

fbsql_db_query

(PHP 4 >= 4.0.6, PHP 5)

fbsql_db_querySend 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

Идентификатор соединения FrontBase, полученный из fbsql_connect() или fbsql_pconnect().

Если он не был указан, то функция попытается найти открытое соединение к серверу FrontBase, в случае неудачи попытается создать новое, как если бы fbsql_connect() была вызвана без аргументов.

Возвращаемые значения

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

Смотрите также



add a note add a note User Contributed Notes fbsql_db_query - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | sitemap | contact | advertising | mirror sites