$i=-1; while($row = mysql_fetch_array($res)) { $i++; ……} $a=$i%2; if($a==0){ //偶数 }else{ //奇数 }
21,891
社区成员
140,342
社区内容
加载中
试试用AI创作助手写篇文章吧