[PHP-DB] Accessing last inserted record in a PSQL Database table

2007-11-26 Thread [EMAIL PROTECTED]
I need to access the last inserted record in a postgresql database table from php. I connect to the db using pg_connect I construct the query string, and I use pg_query to send the query. I get the record inserted, of course. One of the fields, which is my primary key, is an autoincrement field.

Re: [PHP-DB] Accessing last inserted record in a PSQL Database table

2007-11-26 Thread Chris
[EMAIL PROTECTED] wrote: I need to access the last inserted record in a postgresql database table from php. I connect to the db using pg_connect I construct the query string, and I use pg_query to send the query. I get the record inserted, of course. One of the fields, which is my primary key,