内容提要:问:[e:loop={'select * from [!db.pre!]enewsgbook where bid=1 and checked=0 order by lyid desc limit 4 ',0,24,0}]这可以调出留言,[e:loop={'select userid as userid,truename as title,userpic as titlepic from [!db.pre!]enewsmemberadd order by us
问:
[e:loop={'select * from [!db.pre!]enewsgbook where bid=1 and checked=0 order by lyid desc limit 4 ',0,24,0}]
这可以调出留言,
[e:loop={'select userid as userid,truename as title,userpic as titlepic from [!db.pre!]enewsmemberadd order by userid desc limit 4',0,24,0}]
这个可以调出人头像,不知道如何合在一起。求教
答案:
[e:loop={'select a.lytext,b.userpic from [!db.pre!]enewsgbook as a,[!db.pre!]enewsmemberadd as b where a.bid=1 and a.checked=0 and a.userid=b.userid order by a.lyid desc limit 4 ',0,24,0}]
本站仅为信息分享,不提供任何产品销售及代购,所有产品请合法使用,使用和售后问题请联络响应服务商。本站由 帝国CMS 驱动!
Copyright©2022 VPSTOP All Right Reserved.
蜀ICP备08107246号-13