$rejestracja = mysql_query("INSERT INTO `users` (id,name,mail,data,relationship,location) VALUES (".$user.",".$user_profile[first_name].",".$user_profile[email].",".$user_profile[birthday].",".$user_profile[relationship_status].",".$user_profile[location].")") or die(mysql_error());
i błąd, który mi wyskakuje:
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 '@hotmail.com,09/09/1991,In a Relationship,Array)' at line 1
Dzięki z góry