你说的“页面”应该是论坛里的帖子吧?假设帖子数据表为create table XXX(
...
time        int unsigned not null, //帖子最近更新时间
count       int unsigned not null, //帖子访问计数
...
)更新页面时$time = time();
$sql = "update XXX set time=$time, count=count+1";
mysql_query($sql, ...);显示页面时,取出 time 和 count 显示就可以了
其中time可以用date变成字符串,例如
$timestr = date('Y年m月d日 H:i:s', $time);