Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-php by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group