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 ') VALUES('corey','gibson','Cambodia','ab','bragg creek','t0l0k0','corey_g' at line 1
$sql = mysql_query("INSERT INTO myMembers (firstname, lastname, country, province, city, postal_code, email, acp_reg, rank_medical, rank_fire, nok_firstname, nok_lastname, nok_country, nok_province, nok_city, nok_postal_code, nok_phone, password, sign_up_date,)
VALUES('$firstname','$lastname','$country','$province','$city','$postal_code','$email1','$acp_reg','$rank_medical','$rank_fire','$nok_firstname','$nok_lastname','$nok_country','$nok_province','$nok_city','$nok_postal_code','$nok_phone','$db_password', now()")
or die (mysql_error());
$id = mysql_insert_id();
Does anyone have any idea what I am doing wrong?
I am new to php, so my debug skills are rather limited.
Thanks