Okay I have a new problem here now. Wonder if anyone can give me a hand...
okay I have a code on the site now that works but it's only for a username and password.
I have modified it to add other fields. I don't get any error codes when creating a member but it's not writing the data to the database anymore. Only thing I changed was this info:
PHP Code:
$insert = "INSERT INTO users (first_name, last_name, email, gender, city, state, country, username, password)
VALUES ('".$_POST[first_name]."','".$_POST[last_name]."','".$_POST[email]."','".$_POST[gender]."','".$_POST[city]."','".$_POST[state]."','".$_POST[country]."','".$_POST[username]."','".$_POST[pass]."','".$_POST[pass2]."')";
//VALUES ('".$_POST['username']."', '".$_POST['pass']."')"; //reference Code
$add_member = mysql_query($insert);
Got any clues as to what I did wrong?
Bookmarks