方法1,
<?php
$usersql=sys_ListMemberInfo(5,1,’1,2,3,4′,”,”);
$no=0;
while($userr=$empire->fetch($usersql))
{
$no=$no+1;
?>
<tr><td width=”20″><span class=”icon<?=$no?>”></span>
<?php
}
?>
方法2,
<?php
$usersql=sys_ListMemberInfo(5,1,’1,2,3,4′,”,”);
$no=0;
while($userr=$empire->fetch($usersql))
{
$no++;
?>
<span class=”icon<?=$no?>”></span>
<?php
}
?>