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
multiple database connection
#4
so i just done some workaround, my project already had a database class that used the same variable and object name used in userspice database class (guessing here, not 100% sure), so i kept it, edited functions and variables names, and used it side by side with the userspice database class.
now the two databases serve completely different purposes so this worked just fine for me, i only had some overlapping data between the two, but i don't think this would be a good solution for people working with more complicated databases
  Reply


Messages In This Thread
multiple database connection - by Hade - 04-30-2019, 10:10 PM
RE: multiple database connection - by mudmin - 04-30-2019, 10:12 PM
RE: multiple database connection - by Hade - 04-30-2019, 10:14 PM
RE: multiple database connection - by Hade - 05-01-2019, 04:35 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)