pg_query

pg_query

(PHP 4 >= 4.2.0, PHP 5, PHP 7)

pg_queryExecute a query

Description

resource pg_query ([ resource $connection ], string $query )

pg_query() executes the query on the specified database connection. pg_query_params() should be preferred in most cases.

If an error occurs, and FALSE is returned, details of the error can be retrieved using the 登录查看完整内容