|
Posted by Kimmo Laine on 12/28/05 15:27
"Damien" <gerard@nsecure.nl> wrote in message
news:1135774324.142133.153530@g47g2000cwa.googlegroups.com...
> English:
>
> I want to know whats wrong with the script. I am gettich the error:
>
> Parse error: syntax error, unexpected '=' in
> c:\inetpub\wwwroot\login.php on line 17
>
> I think the error is in:
> $usernameexists = mssql_query("SELECT ID FROM tblusers WHERE
> username"=.$_POST["username"]."' &&
should be:
username='".$_POST["username"]."' &&
(" and = were in the wrong order, also missing a single quote)
> password='".$_POST["password"]."'");
>
> But how to solve it?
get stronger glasses?
--
"En ole paha ihminen, mutta omenat ovat elinkeinoni." -Perttu Sirviφ
spam@outolempi.net | Gedoon-S @ IRCnet | rot13(xvzzb@bhgbyrzcv.arg)
[Back to original message]
|