It could have been called using smart index tags, but I am used to using PHP code, so I wrote it in PHP code.
PHP calls the latest 10 message board replies
<?php
$sql=$empire->query("select lyid,name,email,`mycall`,lytime,lytext,retext from {$dbtbpre}enewsgbook where bid=1 and checked=0 limit 10");
while($r=$empire->fetch($sql))
{
/*
*sql语句里面,bid=1 bid是父类id
*/
echo"用户名:".$r['name']."<br>";
echo"邮 箱:".$r['email']."<br>";
echo"回 复:".$r['lytext']."<br>";
echo"时 间:".$r['lytime']."<br><hr>";
}
?>