hawk2012 Posted November 6, 2016 Share Posted November 6, 2016 (edited) Всем привет. При заходе в раздел сайта выдается ошибка: 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 ',,Leader, FROM `accounts` `t` WHERE != 0' at line 1 Строка с запросом: $monitors = self::model()->findAll(array('select'=>'`id`,`mon_name`','condition'=>'active = 1')); Как его переделать, чтобы все заработало? Я сам в этом не очень силен. Edited November 6, 2016 by hawk2012 Quote Link to comment Share on other sites More sharing options...
Silence Posted November 6, 2016 Share Posted November 6, 2016 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.