pg_copy_to()
pg_copy_to - Copy a table to an array
Syntax
array pg_copy_to ()
Arguments
-
Description
pg_copy_to() copies a table to an array. It issues COPY TOSQL command internally to retrieve records.
Version
PHP 4.2.0, 5
Return value
An array with one element for each line of COPYdata. It returns FALSE on failure.