I have created few custom fields using
configuration > people > account settings > manage fields
for user register form. I'm able to display the custom fields in my user registration page and I created a table to save all my user registration page details. I don't know how to insert my custom fields value into my table. I have tried using
hook_user_insert but no luck.