Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Sorry i have verified twice in userstable the field is not adding as fisrtname.iam using drupal7.do i need to code anything while form sumitting.i just added field using the above method and checked to show in registration page
Thankyou so much Cornelius.This is my first task in drupal creating a registration form.You really helped a lot.now i will start with creating login form and make the user to login.if you can give me the suggestion for login iam so glad.Thankyou once again for helping
I have solved my issue everything is saving in database but the uploaded file path is not saving i used $form_state['values']['file'] to store path in db but not storing
ya my uploading is done and my files are even moving to a folder files in drupal.the problem is after successful validation and clicking on submit button iam not able to store the values in the database.it throws the above error.