先把上下两篇的标题查出来
$ss="select * from news where id=".$id-1;
$aa=mysql_query($ss);
$bb=mysql_fetch_array($aa);
在<a href="manage_show.php?act=up&id= <?php echo $id;?>">上一篇<?php echo $bb["标题字段"];
?> </a>
$ss="select * from news where id=".$id-1;
$aa=mysql_query($ss);
$bb=mysql_fetch_array($aa);
在<a href="manage_show.php?act=up&id= <?php echo $id;?>">上一篇<?php echo $bb["标题字段"];
?> </a>
select * from news where id<".$id." asc";上一篇