怎么$Form->delete(5);这种写法会报错???

浏览:783 发布日期:2015/02/21
3.2.3 - 普通 - 未处理
$Form = M('Form');$Form->delete(5); 这种方法会报错,用where就不会。SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1

很是纳闷,跟踪后得到的sql语句竟然值没传递到,3.2.2版本还可以用,3.2.3就有问题
评论(
后面还有条评论,点击查看>>