Hello there, i'm trying to create a login/register script for my sim game,
but i'm having a little trouble in doing so.
Everytime I attempt to test out my registration system, it fails, and I get this message:
Error: Unknown column 'username' in 'field list'
I've been led to believe that the problem is within my register script, here:
$newPlayer = @mysql_query("INSERT INTO players (`username`, `password`, `registered`) VALUES ('$uname', '$pass', '$date')") or die("Error: ".mysql_error());
Can anybody help me with this?
i'm very new to php and a little confused.
In case you are wondering, I do have a mysql database set up, and there is a column named 'username varchar 150'
Sincerely,
Mythical.
(Attached is the entire document, if you're curious ^^)
[attachment deleted by admin]