Hey all, this might be a little off topic, but it has to do with MySQL
Here is my problem:
====
if (isset($c)) {
$addcard = "INSERT INTO $user_table VALUES ('$firstname', '$lastname',
'$nickname', '$street', '$zip', '$city', '$country', '$telephone1',
'$telephone2', '$fax', '$email1', '$email2', '$birthdate', '$note');";
mysql_query($addcard,$conn)
or die(mysql_error());
// echo "User $firstname $lastname added succesfully!";
}
====
What in this little code snippet is wrong? because I get an error
message:
===
You have an error in your SQL syntax near 'VALUES ('foo', 'foo', 'foo',
'foo', 'foo', 'foo', 'the Netherlands', 'foo', 'foo' at line 1
===
what error am I making?
any advise?
thanks!
Yours truly
-Thijs Boonstra