阅读背景:

在重复键更新语法php / mysql错误

来源:互联网 

I am trying to do a query which updates if 'ID' exists and inserts if it doesn't exists. When the tried to run the following query, i could see so many duplicate records being inserted. I dont know what i am doing wrong. My query is below. Id is the 'Autoincrement' and 'KEY'. I am not getting any query Errors. DB is MysqlI am trying to do a query which updates if 'ID'




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: