I used to use UNIQUE KEY id (id)
in my table, but whenever a new row with the same id inserted, the new one will be ignored and keep the old row in table.
what I wanna do is to keep the id unique by updating the old row with the new one whenever a new row inserted. Any sugestions?