Yeah, it's working now. There's a parse error, but I can fix that. I'm not that great at SQL queries.
Foobar, no matter how much experience you have at something. You can still miss some of the simplist things (It's why newer players stomped all over me in Halo 2  ). It's no big deal though, atleast you tried to help.
Thanks again guys
Edit: I found out the parse error.
Your code:
SELECT * FROM game_users
WHERE username ='".$username."'
AND password = '".$password."'
AND alias = '".$alias."'
AND email ='".$email."'");
My new code:
mysql_query("SELECT * FROM game_users
WHERE username ='".$username."'
AND password = '".$password."'
AND alias = '".$alias."'
AND email ='".$email."'");
All I added was $result = mysql_query(". I believe I had to because it was down at the end of the script, but without it at the begining, the php engine wouldn't know how to read it. Well, something like that anyway. I know it's not the only way to fix this kind of error in this situation, but for me it was the easiest.
I just posted that because I mentioned the parse error and I for one think it's annoying when I try to help someone, but end up with a problem and they don't tell me what they did to fix it.
Last edited by Sin; 11-30-2004 at 04:03 PM..
|