From: F. <dev001@pas-world.com>
To: pgsql-php@postgresql.org
Subject: PREPARE -> EXEC Problem
Date: Wed, 14 Jan 2009 19:39:45 +0100
Message-ID: <1231958385.11956.6.camel@localhost.localdomain> (raw)
Hello,
I'm trying to execute a query with a DEFAULT value for primary key value
but do not work.
pdo->prepare("INSERT INTO "Table" ("id","colum") VALUES(?,?)");
$arr=('DEFAULT','helloworld');
Result of PDO is "not valid value for integer".
Anyone know, How assign DEFAULT value in pdo->exec($arr)?
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-php@postgresql.org
Cc: dev001@pas-world.com
Subject: Re: PREPARE -> EXEC Problem
In-Reply-To: <1231958385.11956.6.camel@localhost.localdomain>
References: <1231958385.11956.6.camel@localhost.localdomain>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox