The following warnings occurred: | ||||||||||||
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
|
![]() |
What is returned if if Db->update fails? - 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: What is returned if if Db->update fails? (/showthread.php?tid=959) |
What is returned if if Db->update fails? - matthewra - 02-18-2018 Thnks for this great system - progressing well. If I try a db->update statement and the update fails - what is returned to indicate that? What is returned if if Db->update fails? - mudmin - 02-18-2018 So you can capture the errors to a variable or if you're building you can just go ahead and dump them or dnd them. Right after a query you can do. dnd($db->errorInfo()); or dnd($db->error()); What is returned if if Db->update fails? - matthewra - 02-26-2018 Thanks you! |