The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (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
Help to query the database
#4
It's easy to include that class.

Download Meekro 2.3

Copy it to the classes folder.

Edit line 20 in the meekro class and replace class DB{ with class DB2{

Put in your database credentials on lines 22-25.

Find/replace with in the rest of the class...

Find:
DB::

Replace:
DB2::

Edit users/init.php around line 56 to add your

require_once $abs_us_root.$us_url_root.'users/classes/meekrodb.2.3.class.php';



You're good to go. Everything should work fine and you can use your meekro class for your stuff and let our db class do its thing.

  Reply


Messages In This Thread
Help to query the database - by GePraxa - 09-21-2016, 03:57 PM
Help to query the database - by mudmin - 09-22-2016, 01:11 AM
Help to query the database - by GePraxa - 09-22-2016, 07:04 PM
Help to query the database - by mudmin - 09-24-2016, 02:45 AM
Help to query the database - by GePraxa - 09-25-2016, 02:25 PM

Forum Jump:


Users browsing this thread: 3 Guest(s)