[e:loop={"select u.username,u.userid,userpic,city from phome_enewsmember u LEFT JOIN phome_enewsmemberadd ui ON u.userid=ui.userid where u.groupid in(4) and city like '%[[!--class.name--]]%' order by rand() desc limit 5",10,24,0, 'onclick DESC' }] 这是调用会员列表,筛选关键词为变量标签[!--class.name--],意思是遇到不同的栏目名称,就把此栏目名称作为筛选关键词。这个sql语句错在哪?
|