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

还是有区别的

posted on 2014-06-14 16:27  13m0n  阅读(87)  评论(0编辑  收藏  举报