//此页面为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);
http://www.gaodaima.com/47219.htmlBBS(php & mysql)完整版(二)_php
$number=++$row["number"];
$sql="update $table set number='$number' where id='$id'";
mysql_query($sql)or die(mysql_error());
?>
xiaoyanginclude "js/menuhead.php"
?>
include "js/menu.php";
?>
题目
| |
作者
| |
内容
|
$file=explode("n",$row["content"]); $num=count($file);
for($i=0 ;$i";?> |
for($j=1;$j<6;$j++) //显示回复内容
{
$re="r".$j;
if($row["$re"])
{
$id2=$row["$re"];
$sql="select * from bbs_re where id='$id2'";
$result=mysql_query($sql)or die(mysql_error());
$row8=mysql_fetch_array($result);
echo "
";
echo "
echo "
echo "
";echo "
echo "
";echo "
echo "
";echo "
echo "
echo "
";echo "
$num=count($file);
for($i=0 ;$i";
echo "
echo "
";}
}
?>
欢迎大家阅读《BBS(php & mysql)完整版(二)_php》,跪求各位点评,若觉得好的话请收藏本文,by 搞代码
微信 赏一包辣条吧~
支付宝 赏一听可乐吧~