rickconner
asked on
Need my SQL to update on existing...
ok, it's simple, I have this sql statement, and I want it to update "ON DUPLICATE KEY"... the two tables are identical so the easiest is best :)
$sql = "INSERT lapa_backups.2_transaction _tmp SELECT * FROM 2_transaction";
$sql = "INSERT lapa_backups.2_transaction
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
The INTO keyword is missing there.