Home >Backend Development >PHP Tutorial >php+mysql遭遇的奇怪有关问题

php+mysql遭遇的奇怪有关问题

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-13 10:24:521230browse

php+mysql遭遇的奇怪问题
表结构

字段 类型 整理 属性 空 默认 额外 操作
integ_id int(11) 否 无 AUTO_INCREMENT
integ_user char(16) 是 NULL  
integ_total int(11) 是 NULL

执行以下语句

update integ_info set integ_total=100 where integ_id=1

integ_total的值居然翻倍,什么情况?

------解决方案--------------------
有没有触发器?
------解决方案--------------------
update integ_info set integ_total="100" where integ_id=1
試試

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn