I have a Database (MySQL) that contains two tables with identical primary keys, I have already inserted data into the first table but I want to insert data into the second table at a later time.
The logic I've got is:
[INSERT into Table2 (col1, col2, col3) Values (X1,X2,X3) WHERE Table1.id equals Table2.id]
I can't seem to find anything that works like this for an Insert Statement in use with PHP.
Any help appreciated!