serial type question - Mailing list pgsql-php

From Ray Hunter
Subject serial type question
Date
Msg-id 1037217368.6700.113.camel@pclnxrhunter.digitalglobe.com
Whole thread Raw
Responses Re: serial type question
List pgsql-php
I have a php script that will be inserting from a form into two tables.

Table1 has a serial data type.
Table2 references Table1's serial data type (PK).

Here are my questions:
1. Can i run a transaction process from php? If yes, how?
2. How can i get the serial value for inserting into the 2nd table?


--
Thank you,

Ray Hunter



pgsql-php by date:

Previous
From: "David Busby"
Date:
Subject: Re: Need to select and update with the same sql statement
Next
From: "Phil Geer"
Date:
Subject: Re: serial type question