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
/printthread.php 16 require_once



UserSpice
if Db->update fails what is returned? - Printable Version

+- UserSpice (https://userspice.com/forums)
+-- Forum: Support Center (https://userspice.com/forums/forumdisplay.php?fid=23)
+--- Forum: UserSpice 4.3 and Below (https://userspice.com/forums/forumdisplay.php?fid=26)
+--- Thread: if Db->update fails what is returned? (/showthread.php?tid=941)



if Db->update fails what is returned? - matthewra - 02-09-2018

Hi, thanks for great system

if I want to use the $db class in an ajax called page

what can I include or copy to just have that class and no other page content/headers?



if Db->update fails what is returned? - Brandin - 02-09-2018

Include init.php from the users folder and then set $db = DB::getInstance();


if Db->update fails what is returned? - matthewra - 02-09-2018

thanks