I have two mysql tables
Table1 : Columns (id(int pk), empid(int), status( varchar(1) ) )
Table2 : Columns (idfk(int fk), paycodeidfk(int fk), amount(int) )
Relation : Table1->id
is Primary Key and Table2->idfk
is Foreign Key
How could i insert rows at same time in both relational tables using PDO.