thinkphp 对postgre 的问题

浏览:1324 发布日期:2015/03/23
3.2.3 - 普通 - 未处理
我用M方法
$shops = M('shop_recommend');
$result = $shops->select();
print_r($result);

会报错:
SQLSTATE[42703]: Undefined column: 7 ERROR: column "wifi_shop_recommend" does not exist LINE 1: ...default",fields_default as "extra" from table_msg(wifi_shop_... ^
同样的代码 改成mysql数据库 就没问题了 请问是怎么回事啊?

同样的代码 在mysql下 :

thinkphp 没有 table_msg函数报错
评论(
后面还有条评论,点击查看>>