Onbekend |
|
Hey allemaal, ik ontdek de fout niet, zal er wel weer pal overheen kijken... mijn code:
$query = "INSERT INTO user_accounts (username, password, email, day_of_birth, registered_date, registered_time, premium_member, access_level) VALUES ('".$_POST['username']."', '".$_POST['password']."', '".$_POST['email']."', '".$_POST['dob']."', '".$date."', '".$date."', '0', '0'";
$query = "INSERT INTO user_accounts (username, password, email, day_of_birth, registered_date, registered_time, premium_member, access_level) VALUES ('".$_POST['username']."', '".$_POST['password']."', '".$_POST['email']."', '".$_POST['dob']."', '".$date."', '".$date."', '0', '0'";
de foutmelding is:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
iemand een idee?
|