PHP. Руководство по PHP. 2005
maxdb_query
maxdb_query
(PECL)maxdb_query
(no version information, might be only in CVS)maxdb->query -- Performs a query on the database
Description
Procedural style:mixed maxdb_query (resource link, string query [, int resultmode])
Object oriented style (method):class maxdb {
mixed query (string query)
}
The maxdb_query() function is used to simplify the
act of performing a query against the database represented by the
link parameter.
Return values
Возвращает TRUE в случае успешного завершения или FALSE в случае возникновения ошибки. For SELECT, SHOW, DESCRIBE or
EXPLAIN maxdb_query() will return
a result resource.
Example
Пример 2. Procedural style
|
The above examples would produce the following output:
Table mycity successfully created. |
maxdb_prepare
maxdb_real_connect