我想要一个这样的系统:
function check()
{
$sqlquery = mysql_query("SELECT * FROM clients WHERE id='$this->ClientID'
AND username='$this->ClientUSERNAME'") or die(mysql_error());
$showmysql = mysql_fetch_array($sqlquery );
$statusOK = $showmysql['status'];
if ($statusOK == "Active" || "1");{
return true;
}
else if ($statusOK == "Pending");{
$this->Redirect("pending.php");
}
else if ($statusOK == "Susspended");{
$this->Redirect("sus.pjp");
}
}
但是当我把这段代码放在 adobe dreamweaver 中时,我看到了......我(})
的问题是什么?请写下真正的代码