serial type question

From: Ray Hunter <rhunter(at)venticon(dot)com>
To: pgsql-php(at)postgresql(dot)org
Subject: serial type question
Date: 2002-11-13 19:56:08
Message-ID: 1037217368.6700.113.camel@pclnxrhunter.digitalglobe.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-php by date

  From Date Subject
Next Message scott.marlowe 2002-11-13 20:03:05 Re: Need to select and update with the same sql statement
Previous Message David Busby 2002-11-13 19:29:32 Need to select and update with the same sql statement