In this code:
Code: Select all
$query="select name,password from players where name= '$player' and '$password'";
Shouldn't it be: $query="... and password='$password'";
like in this code:
Code: Select all
$query="select name,password from players where name= '$player' and password='$password'";
Regards.
EDITED:
I just looked a few pages back and found out the correct code.
I was wondering about this because when I wrote this .php file i used the 2nd CODE and it worked. In your video, it seemed to have worked with the first code too.
PPS. So far so good. All the tuts worked for me. I learned practically a lot of things that i only knew theoretically before. Great site!