pg_query(PHP 4 >= 4.2.0, PHP 5) pg_query — Execute a query Описание
resource pg_query
( string $query
)
resource pg_query
( resource $connection
, string $query
)
pg_query() executes the query on the specified database connection . If an error occurs, and FALSE is returned, details of the error can be retrieved using the pg_last_error() function if the connection is valid.
Список параметров
Возвращаемые значенияA query result resource on success, or FALSE on failure. Примеры
Пример #1 pg_query() example
<?php
Пример #2 Using pg_query() with multiple statements
<?php |
|
|
| © 2009 Тест скорости интернета | Boont.Ru |