紫枫
- 紫枫 发布了话题请教ListView挂件的内容怎么分组展示
自己写sql语句查。。。例如SHOW TABLES LIKE....
$sql = 'SHOW TABLES LIKE {{不存在的表名}}'; $p = Yii::app()->db->createCommand($sql)->queryAll();
直接报错
CDbCommand failed to execute the SQL statement: 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 'tbl_xxxx' at line 1. The SQL statement executed was: SHOW TABLES LIKE tbl_xxxx
- 紫枫 发表了说说请问怎样给Sublime_Text 添加yii的智能提示呢?