02-22-2018, 10:50 AM
You can just create a table called companies, and then create a column in the users table called company_id which is the ID of the company from the companies table. You would then use the DB class to call this on both the manual add form and the admin_user.php setup. Here is a video on interacting with the DB:
https://www.youtube.com/watch?v=rb0kD5tCENM&t=1479s
https://www.youtube.com/watch?v=rb0kD5tCENM&t=1479s