解析错误:语法错误,第781行意外T_VARIABLE
我无法看到错误,无论我喝多少咖啡,都需要第二双眼睛......请帮助
if(!$this->DBLogin())
{
$this->HandleError("Database login failed!");
return false;
}
if(!$this->Ensuretable())
{
return false;
}
$username = $_POST['username']
// $username = $this->SanitizeForSQL($username);
$qry = "Select * from $this->tablename where username='$username'"; // LINE 781
$result = mysql_query($qry,$this->connection);
if(!$result || mysql_num_rows($result) <= 0)
{
$this->HandleError("Error selection. The UserName was not found");
return false;
}
$row = mysql_fetch_assoc($result);