I know these kind of errors are all over these boards but none of which directly relate to my code. I was wondering if someone could help me. Here's the error:
Parse error: syntax error, unexpected T_STRING in /home/.miwa/edited/reg.php on line 85
Here's the code: (Line bolded is the one that says the error is occuring on
if ($result)
{
Stop("There are already user with such login. Try another name");
}
else
{
password md5($password);, login md5($login);
$query = "INSERT INTO users (login, pswd, email ) VALUES ( '$LoginHash', '$PswdHash', 'no' ) ; ";
[b] $qresult = mysql_query($query);[/b]
if ($qresult) Stop("You successfully got registered");
else echo Stop("Some mistake with writing to DB");
}
?>
Thanks in advance. If I need to paste more of the code let me know.