网(LieHuo.Net)教程
问题:
我用sql调用48小时内最热门的信息。只找到:
以下为引用的内容: [ecmsinfo]"select * from phome_ecms_news where newstime>SUBDATE(NOW(),INTERVAL 2 DAY) order by onclick desc limit 10",10,30,0,24,7,0[/ecmsinfo] |
回答:
以下为引用的内容: [ecmsinfo]"select * from phome_ecms_news where newstime>SUBDATE(NOW(),INTERVAL 2 DAY) and classid in (栏目ID,栏目ID) order by onclick desc limit 10",10,30,0,24,7,0[/ecmsinfo] |