PHP and COPY

From: DeJuan Jackson <djackson(at)speedfc(dot)com>
To: pgsql-php(at)postgresql(dot)org
Subject: PHP and COPY
Date: 2003-08-15 18:15:57
Message-ID: 3F3D235D.6090005@speedfc.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

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
\.

Responses

Browse pgsql-php by date

  From Date Subject
Next Message DeJuan Jackson 2003-08-15 19:08:01 Re: PHP and COPY
Previous Message Ângelo Marcos Rigo 2003-08-15 10:53:52 Re: Update script