title: how to get primary key ID of one table to automatically insert in another table
body: <p>How do you get the latest ID ( primary key id ) of one table and insert it into the foreign key of another table when submitting a form?</p>