User registration form I am using drupal 7 built in form name user_register_form, when clicked on submit or save button I want to store the value of uid column value  and status value (if the request is active or blocked) to be stored in another table? How can I implement this , can anybody please guide me ..

UPDATED
My table name is expiry_user, expiry_status and expiry_uid are two columns in my table

function mymodule_user_insert(&amp;$edit, $account, $category)
{
db_insert('expiry_user')-&gt;fields(array(
'expiry_status' =&gt; $account['status'],
'expiry_uid' =&gt; $account-&gt;uid,
))-&gt;execute();
}
Use hook_user_insert() to take action on the user account after creation:

function mymodule_user_insert(&amp;$edit, $account, $category) {
  //@TODO: use $account-&gt;uid &amp; $account-&gt;status to do stuff
}