I complete User Profile (with avatar) and System Registration (with cookies and email validation) tutorials. Now I was wondering how can I make one just one system, so users can register, get email validation code, connect to their profile?
OK, now I'm stuck, i just add some new registratio fields, write them to user.ini.php file and when I fill form a got totaly wrong iformations in my db. Only Username and email are on right place, all other is mixed.
[syntax=php]mysql_query("INSERT INTO `users` (`user_username`, `user_password`, `user_email`, `user_firstname`, `user_lastname`, `user_location`) VALUES ('{$user}', '{$pass}', '{$email}', '{$firstname}', '{$lastname}', '{$location}')");[/syntax] I test this in phpmyadmin and show no errors.