Do you have to do anyhting special to compare a MySQL stored password with one entered by a user?
For intsance, I have this:
<form action='login.php' method='POST'> Username: <br><input name='username' size='10'><br>Password:<br><input name='password' type='password' size='10'><br><input type='submit' value='Login'>
And to validate it I have this:
$result = mysql_query("SELECT Password FROM players WHERE User_Name='$HTTP_POST_VARS[username]'");
if ($result == '$HTTP_POST_VARS[password]')
{ . . . . .
It doesn't seem to work the way I think it should. Becuase I am a severe nebie at MySQL, it it probably totally wrong (but I hope I'm not that stupid). Thanks.