欢迎进入极速独立站群官方网! 咨询电话:13135381668 销售QQ:1000207
$dosql->Execute("SELECT * FROM `#@__infolist` WHERE classid=14 AND flag like '%c%' AND delstate='' AND checkinfo=true ORDER BY orderid DESC limit 0,1");
找到位置插入and
或的意思
AND flag like '%c%' c代表推荐
h代表头条 等。跟据后台定