用:select * from phome_enewsad where adid in (廣告ID1,廣告ID2,....)
實例: [e:loop={"select * from phome_enewsad where adid in (1,2,3) and t=0 order by adid desc limit 20",0,24}] <a href="<?=$bqr[url]?>" target="_blank" title="<?=$bqr[title]?>"><img src="<?=$bqr[picurl]?>"><?=$bqr[picurl]?></a><br> [/e:loop]