第三個頁name="frame3.php"
包含「../signup/mysql.php」;
//echo $userid;
/ /echo $private;
如果($p)$p=1;
否則$p=0;
if(($action="ok")and($p)){
$sql="select userid,id from chat_user_list where userid='$userid'";
$結果=mysql_query($sql);
$roww=mysql_fetch_array($result); 🎜>$userrr=$roww["id"];
$sql="select userid,id from chat_user_list where id='$object'";
$結果=mysql_query($sql);
if($row1=mysql_fetch_array($result))
$object=$row1["userid"];
else {
="大家";
$k=1;}
$select="從user_message 按行DESC 選擇行";
fgfg");
$rowlist=mysql_fetch_array($result)or die("false fgs");
;
$time1=date("G:i");
$sql="INSERT INTO user_message (userid,object,message,status,action1,color,row,time1)values ('$userid','$object','$message', '$private','$action1','$color','$row','$time1')";
mysql_query ($sql)或死(mysql_error());
if($k){$object="大家"; $private=0;}
else
$object=$row1[ "id"];
}
? >
輸入表標題>