求解决啊!
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>我的留言板</title>
</head>
<body>
<center>
<h2>我的留言板</h2>
<a href="index.php">添加留言</a>
<a href="show.php">查看留言</a>
<hr width="90%"/>
<h3>查看留言</h3>
<table border="1" width="700">
<tr>
<th>留言标题</th>
<th>留言人</th>
<th>留言内容</th>
<th>IP地址</th>
<th>留言时间</th>
<th>操作</th>
</tr>
<?php
$info=file_get_contents("liuyan.txt");
$info=rtrim($info,"@");
$lylist=explode("@@@",$info);
foreach($lylist as $v){
$ly=explode("##",$v);
echo "<tr>";
echo "<td>{$ly[0]}</td>";
echo "<td>{$ly[1]}</td>";
echo "<td>{$ly[2]}</td>";
echo "<td>{$ly[3]}</td>";
echo "<td>".data("Y-m-d H:i:s",$ly[4]+8*3600}."</td>";
echo "<td><a href='del.php'>删除</td>";
echo "</tr>";
}
?>
</table>
</center>
</body>
</html>
无我无境
sophia_yu