PHP and COPY

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Does anyone know how to execute a COPY from PHP?
I keep getting parse errors on all the data.

PHP 4.3.2
PostgreSQL 7.3.4

example:

CREATE table tmp(data text);

COPY tmp FROM STDIN;
test1
test2
test3
\.




[Index of Archives]     [Postgresql General]     [Postgresql Admin]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Yosemite Backpacking]     [Postgresql Jobs]

  Powered by Linux