Re: PREPARE -> EXECUTE Problem

From: "F(dot)" <dev001(at)pas-world(dot)com>
To: pgsql-php(at)postgresql(dot)org
Subject: Re: PREPARE -> EXECUTE Problem
Date: 2009-01-15 11:43:30
Message-ID: 1232019811.9838.9.camel@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

>Just ignore the default.
>Have you set up the table with SERIAL?
>if so this should work:

After some changes, for the moment seems the good choice.
But have a problem getting pdo->lastInsertId(), do not work in postgre
for me.

I am using this :
select currval('table_id_seq');

Any clear method?

--

--
Publicidad http://www.pas-world.com

Responses

Browse pgsql-php by date

  From Date Subject
Next Message Jasen Betts 2009-01-18 00:48:24 Re: PREPARE -> EXECUTE Problem
Previous Message Chris 2009-01-15 04:40:48 Re: PREPARE -> EXEC Problem