//此页面为look.php
include "signup/mysql.inc";
$sql="select * from ".$table." where id='$id'";
$result=mysql_query($sql)or die(mysql_error());
$row=mysql_fetch_array($result);
$number=++$row["number"];
$sql="update $table set number='$number' where id='$id'";
mysql_query($sql)or die(mysql_error());
?>
题目 | |
作者 | |
内容 | $file=explode("n",$row["content"]); $num=count($file); for($i=0 ;$i<$num;$i++) echo " ".$file[$i]." ";?> |
题目 "; echo " | "; echo " ".$row8["title"]." |
"; echo " 作者 | "; "; echo " ".$row8["userid"]." |
内容 "; echo " | "; echo " "; $file=explode("n",$row8["content"]); "; $num=count($file); for($i=0 ;$i<$num;$i++) echo " ".$file[$i]." "; echo " echo " |
p>
身體>