代码:
$task=M('order_task');
$n_order=$task->where('lock=0')->select();
报错:
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 'lock=0 )' at line 1 [ SQL语句 ] : SELECT * FROM `order_task` WHERE ( lock=0 )
最佳答案