right so basically you want to insert two records at the same time?
if so this is easy - just do both in one command. Seperate them as per your database. e.g. postgres;
Code:
insert into x (x,y,z) values (1,2,3);
insert into x (x,y,z) values (1,2,3);
do this all in one statement. You may have to hand code it if dreamweaver does not allow it.