[24-11-01 07:56:11] /www/wwwroot/yigang.yuanxinpmc.com/Core/Lib/Driver/Db/DbMysql.class.php (320) trace(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 'and id< ORDER BY id DESC LIMIT 1' at line 1
[ SQL语句 ] : SELECT * FROM `qswl_` WHERE catid= and id< ORDER BY id DESC LIMIT 1 , , ERR)
[24-11-01 07:56:11] /www/wwwroot/yigang.yuanxinpmc.com/Core/Lib/Driver/Db/DbMysql.class.php (107) DbMysql->error()
[24-11-01 07:56:11] /www/wwwroot/yigang.yuanxinpmc.com/Core/Lib/Core/Db.class.php (739) DbMysql->query(SELECT * FROM `qswl_` WHERE catid= and id< ORDER BY id DESC LIMIT 1 )
[24-11-01 07:56:11] /www/wwwroot/yigang.yuanxinpmc.com/Core/Lib/Core/Model.class.php (597) Db->select(Array)
[24-11-01 07:56:11] /www/wwwroot/yigang.yuanxinpmc.com/Core/Extend/Driver/TagLib/TagLibYp.class.php (39) Model->find()
[24-11-01 07:56:11] /www/wwwroot/yigang.yuanxinpmc.com/Core/Lib/Template/ThinkTemplate.class.php (389) TagLibYp->_pre(, )
[24-11-01 07:56:11] /www/wwwroot/yigang.yuanxinpmc.com/Core/Lib/Template/ThinkTemplate.class.php(358) : regexp code (1) ThinkTemplate->parseXmlTag(Yp, pre, , )
[24-11-01 07:56:11] /www/wwwroot/yigang.yuanxinpmc.com/Core/Lib/Template/ThinkTemplate.class.php (358) preg_replace(/]*)\/(\s*?)>/eis, $this->parseXmlTag('Yp','pre','$1',''),
field("*")->where(" 1 AND status=1 AND posid =1")->order("id desc")->limit("12")->select();; if ($_result): $i=0;foreach($_result as $key=>$r):++$i;$mod = ($i % 2 );?>
field("*")->where(" 1 AND status=1 AND posid =1")->order("id desc")->limit("12")->select();; if ($_result): $i=0;foreach($_result as $key=>$r):++$i;$mod = ($i % 2 );?>