php&mysql

更新语句

  $query='update num set num='.$counter.'where id=1';      ....................这个查询失败

  $query='update num set num='.$counter.' where id=1';

  update num set num=3where id=1

  update num set num=3 where id =1

还是有区别的

原文地址:https://www.cnblogs.com/Fadinglemon/p/3788380.html