From: Ray Hunter <rhunter@venticon.com>
To: pgsql-php@postgresql.org
Subject: serial type question
Date: 13 Nov 2002 19:56:08 +0000
Message-ID: <1037217368.6700.113.camel@pclnxrhunter.digitalglobe.com> (raw)
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-php@postgresql.org
Cc: rhunter@venticon.com
Subject: Re: serial type question
In-Reply-To: <1037217368.6700.113.camel@pclnxrhunter.digitalglobe.com>
References: <1037217368.6700.113.camel@pclnxrhunter.digitalglobe.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox