PHP: while($thread = $db->fetch_array($query)) { $thread[subject] = cutstr($thread[subject], 50); $thread[dateline] = gmdate("Y-m-j g:i", $thread[dateline] + $timeoffset * 3600); $thread[lastpost] = gmdate("Y-m-j g:i", $thread[lastpost] + $timeoffset * 3600); $replythreads.="<TABLE width='100%'><TR><TD class='ID_1'>aaa</TD></TR></TABLE>"; } 我希望<TD class='ID_1'>部份,第一次是:ID_1,下一次则是:ID_2,再下一次就是:ID_1,这样一直下去,请问应该怎么加代码?谢谢