tp5 count查询问题--未定义数组下标: 1

浏览:10314 发布日期:2016/12/22 分类:ThinkPHP5专区 关键字: tp5, count, db
$count = $stock->where('mktseccode', $code)->count();
出现错误:[ error ] [8]未定义数组下标: 1[/home/test/its2/webroot/thinkphp/library/think/db/Builder.php:277]

$stock是模型实例,$code是有值的
最佳答案
评论() 相关
后面还有条评论,点击查看>>