Syntax
int pg_Exec(int connection, string query);
Popis
PrÃkaz jazyka PHP
pg_Exec - execute a query
Returns a result index if query could be executed, false on failure or if connection is not a valid connection index. Details about the error can be retrieved using the pg_ErrorMessage function if connection is valid. Sends an SQL statement to the PostgreSQL database specified by the connection index. The connection must be a valid index that was returned by pg_Connect. The return value of this function is an index to be used to access the results from other PostgreSQL functions.