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
User id in validate class
#6
I'm not really sure why this is happening in the Validate class. One thing to note that if you modify our class and then update, you could lose those changes. It's probably better to create a Validate2.php class.

That said, take a look at the User class since it does db queries.

You need a construct....
$this->_db = DB::getInstance();

Then when you construct your queries it is
$query = $this->_db->query(" your query....

  Reply


Messages In This Thread
User id in validate class - by thenumbernine - 11-20-2016, 04:54 AM
User id in validate class - by mudmin - 11-20-2016, 06:43 AM
User id in validate class - by thenumbernine - 11-20-2016, 04:44 PM
User id in validate class - by mudmin - 11-20-2016, 05:16 PM
User id in validate class - by thenumbernine - 11-20-2016, 07:39 PM
User id in validate class - by mudmin - 11-20-2016, 08:46 PM

Forum Jump:


Users browsing this thread: 4 Guest(s)