I'm using Dreamweaver's Insert Record behaviour for PHP to insert information into 2 mySQL tables. I've been able to insert into one table fine, but I'm wondering what's the best way to insert into both at the same time. My problem is that one of the pieces of data that I want to insert into the second table is the automatically generated id from the previous insert. How do I get this id that was just created and place it in the second insert. I'm pretty new, so please try to keep it simple. Thanks.