需向数据库表中数值型字段进行加减有方便的方法没

C
cocolee

除了先读取再提交外还有别的方法没

回答4

超级管理员

update tbl_table set cou=cou+1 where id=1;
update tbl_table set cou=cou-1 where id=1;

cocolee

如果是自定义表单的话,这个时机怎么设置?

写回答

扫码关注

微信公众号二维码