(PHP 4 >= 4.2.0, PHP 5, PHP 7)
Insert records into a table from an array
bool pg_copy_from ( resource $connection, string $table_name, array $rows [, string $delimiter [, string $null_as ]] )
pg_copy_from() inserts records into a table from rows. It issues a COPY FROM SQL command internally to insert records.
Parameters:
connection
PostgreSQL database connection reso