execute(select * from `#@__infoclass` where parentid=5 and checkinfo=true order by orderid asc);
while($row = $dosql->getarray())
{
?>
>
execute(select * from `#@__infoimg` where classid='.$row['id'].' and flag ='c' and checkinfo=true order by orderid desc limit 0,6);
while($srow = $dosql->getarray())
{
?>
>
如何循环内在写一个循环
------解决方案--------------------
再实例化一个数据库类