[thelist] Sql muti table insert needing auto increment value

fstorr fffrancis at fstorr.demon.co.uk
Fri Aug 8 12:40:23 CDT 2003

Hi all

I need to do a SQL insert statement into three tables.  However, the
second table contains a column which is a foreign key to the first
table's auto incrementing index.  How do I insert this value into the
second table (I'm using PHP+MySQL) when I don't actually know what it



More information about the thelist mailing list