serial type question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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




[Index of Archives]     [Postgresql General]     [Postgresql Admin]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Yosemite Backpacking]     [Postgresql Jobs]

  Powered by Linux