if ($record>=1) //如果結果筆數大於等於1
{
while (list($class,$subject,$text,$post_time,$deadline,$id)=mysql_fetch_row($result))
{
echo " ".$class;
echo " ".$subject;
echo " ".$text;
echo " ".$post_time;
echo " ".$deadline;
echo ' <a rel=\"nofollow\">修改</a> ';
echo ' <a rel=\"nofollow\">刪除</a> ';