Can any one solve this ?
In my site i have three tables to store the login information of adminstrators and users
1. loginusers -> id, username, password, role, user_id, admin_id
2. user_details -> user_id, user_name, user_email and user_image
3. admin_details ->admin_id, admin_email and admin_image
The term role in loginusers table specifies weather login user is admin or user.
In my user_registration.php i have newuser form in which two field sets present , one with account information and another with personal information
when user clicks on submit button both