pg_insert

pg_insert

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

pg_insert Insert array into table

Description

mixed pg_insert ( resource $connection , string $table_name , array $assoc_array [, int $options = PGSQL_DML_EXEC ] )

pg_insert() inserts the values of assoc_array into the table specified by table_name. If options is specified, pg_convert() is applied to assoc_array wi