PREPARE -> EXEC Problem

From: "F(dot)" <dev001(at)pas-world(dot)com>
To: pgsql-php(at)postgresql(dot)org
Subject: PREPARE -> EXEC Problem
Date: 2009-01-14 18:39:45
Message-ID: 1231958385.11956.6.camel@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

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)?

Responses

Browse pgsql-php by date

  From Date Subject
Next Message Chris 2009-01-15 04:40:48 Re: PREPARE -> EXEC Problem
Previous Message Drange, Bernt Andreas 2009-01-12 09:36:17 Re: Question on libpq.so