pg_copy_from

(PHP 4 >= 4.2.0)

pg_copy_from --  Insert records into a table from an array

Description

int pg_copy_from ( int connection, string table_name, array rows [, string delimiter [, string null_as]])

pg_copy_from() insert records into a table from rows. It issues COPY command internally to insert records. Siker esetén TRUE értékkel tér vissza, ellenkező esetben FALSE értéket ad.

See also pg_copy_to()