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

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

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-13 10:24:52
Original
1236 people have browsed it

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
試試

Related labels:
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template