Я получаю сообщение об ошибке с моим PHP script, "Неожиданным T_STRING". Может ли кто-нибудь взглянуть на то, почему это происходит?
$checkban = mysql_query("SELECT * FROM craffybans WHERE username = '" .$un9. "'") or die(mysql_error());
if(mysql_num_rows($checkban) != 0){
$query7 = "SELECT * FROM craffybans WHERE username = '".$un9."'";
$result7 = mysql_query($query7) or die(mysql_error());
while ($row7 = mysql_fetch_assoc($result7)) {
$reas = $row7['reas'];
$timeb = $row7['time'];
$tban = $row7['tban'];
$tip = $row7['ipd'];
};
if($timeb == "perm"){
$bant = "Permanent";
}else{
$bant = $timeb;
};
$checkusrdel = mysql_query("SELECT * FROM craffyusers WHERE username = '".$un9."') or die(mysql_error());
if(mysql_num_rows($checkusrdel) != 0){
$acdel = "n";
}else{
$acdel = "y";
};
if(empty($tip)){
$bank = "account ban";
}else if($acdel == "y"){
$bank = "account deleted + IP ban";
}else{
$bank = "account ban + IP ban";
};
$tban = date("F j \a\\t\ g:i a", strtotime ($tban));
};