Heim > Artikel > Backend-Entwicklung > merry lonely christmas BBSphp & mysql完整版一
//此页面为say.php
include "signup/mysql.inc";
if($id1){
$sql="select * from $table where"; //显示回复题目
$result=mysql_query($sql)or die(mysql_error());
$row=mysql_fetch_array($result);
$title="RE:".$row["title"];
}
$ip=$REMOTE_ADDR;
$sql="select * from user_stus where ip='$ip'"; //查询当前用户名
$result=mysql_query($sql)or die(mysql_error());
$row=mysql_fetch_array($result);
if(!$row) //判断用户是否登陆
{
echo "