The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
User defined Module
#2
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
  Reply


Messages In This Thread
User defined Module - by brahm.pragya - 02-22-2018, 09:30 AM
User defined Module - by Brandin - 02-22-2018, 10:50 AM
User defined Module - by brahm.pragya - 02-22-2018, 11:54 AM
User defined Module - by Brandin - 02-22-2018, 11:58 AM
User defined Module - by brahm.pragya - 02-23-2018, 06:38 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)