<!--Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->$query="SELECT * from news ORDER by id desc Limit $offset,$page_size";$result=mysql_query($query,$conn);$row=mysql_fetch_array($result);$i=0;while($i"; echo "
------解决方案-------------------- 你的$row就没变过,肯定是一样的数据 ------解决方案-------------------- $query="SELECT * from news ORDER by id desc Limit $offset,$page_size"; $result=mysql_query($query,$conn);