求助:新增表无法用curd操作,只能用query?

浏览:477 发布日期:2013/01/26 分类:求助交流
我建了个新表,然后
$dao = M('siteMsg');
$dao->where("id=1")->find();
没有结果~

原生sql又有结果:
$dao->query("select * from siteMsg where id=1");

是不是表的大小写问题?我的新表siteMsg
最佳答案
评论( 相关
后面还有条评论,点击查看>>