Hello All,
I am working on a project (osCommerce Mod), and I need to insert values into two tables, one into a configuration_group table, which has an auto-increment value, and many values into the configuration table USING the insert ID from the previous.
i.e.
insert into configuration_group, I need to get that ID, and use it in 15 or so following inserts into another table, which needs that insert ID to reference back.
I know how to do this in PHP w/ Multiple statements, but I am wondering if it is possible with one single query?
I hope this makes sense..
Thanks in advance for all the help..