The following warnings occurred: | ||||||||||||||||||||||||
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
|
Error reporting for DB queries - Printable Version +- UserSpice (https://userspice.com/forums) +-- Forum: Miscellaneous (https://userspice.com/forums/forumdisplay.php?fid=28) +--- Forum: Off-topic Discussions (https://userspice.com/forums/forumdisplay.php?fid=10) +--- Thread: Error reporting for DB queries (/showthread.php?tid=231) |
Error reporting for DB queries - Katronix - 09-03-2017 $pos1 = Input::get('pos1'); $pox1 = array('posname',$pos1); p1 = $db->insert('position',$pox1); Error reporting for DB queries - mudmin - 09-03-2017 That array needs to be formatted like this Code: $pox1 = array( Code: 'thisIsTheColumnNameInTheDatabase' => $pos1 Code: ); Code: $db->insert('position',$pox1); |