2024-09-28 14:56:52
array(4) { ["error"]=> string(13) "PDO-SQL-ERROR" ["PDO_error"]=> string(225) "SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'and profid=24 limit 1' at line 1" ["SQL"]=> array(2) { ["query"]=> string(59) "select * from prof2cert where certid= and profid=24 limit 1" ["input"]=> array(0) { } } ["debug_backtrace"]=> array(4) { [0]=> array(7) { ["file"]=> string(55) "/home/powers/public_html/classLibs/class.pdoWrapper.inc" ["line"]=> int(107) ["function"]=> string(12) "pdoException" ["class"]=> string(10) "PdoWrapper" ["object"]=> object(PdoWrapper)#2 (4) { ["pdoHandle":"PdoWrapper":private]=> object(PDO)#3 (0) { } ["useTablecols"]=> int(0) ["useDatadumper"]=> int(0) ["sql"]=> array(2) { ["query"]=> string(59) "select * from prof2cert where certid= and profid=24 limit 1" ["input"]=> array(0) { } } } ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> string(225) "SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'and profid=24 limit 1' at line 1" } } [1]=> array(7) { ["file"]=> string(55) "/home/powers/public_html/classLibs/class.pdoWrapper.inc" ["line"]=> int(143) ["function"]=> string(10) "pdoExecute" ["class"]=> string(10) "PdoWrapper" ["object"]=> object(PdoWrapper)#2 (4) { ["pdoHandle":"PdoWrapper":private]=> object(PDO)#3 (0) { } ["useTablecols"]=> int(0) ["useDatadumper"]=> int(0) ["sql"]=> array(2) { ["query"]=> string(59) "select * from prof2cert where certid= and profid=24 limit 1" ["input"]=> array(0) { } } } ["type"]=> string(2) "->" ["args"]=> array(2) { [0]=> string(59) "select * from prof2cert where certid= and profid=24 limit 1" [1]=> array(0) { } } } [2]=> array(7) { ["file"]=> string(50) "/home/powers/public_html/classLibs/class.MyPdo.inc" ["line"]=> int(25) ["function"]=> string(9) "pdoGetRow" ["class"]=> string(10) "PdoWrapper" ["object"]=> object(PdoWrapper)#2 (4) { ["pdoHandle":"PdoWrapper":private]=> object(PDO)#3 (0) { } ["useTablecols"]=> int(0) ["useDatadumper"]=> int(0) ["sql"]=> array(2) { ["query"]=> string(59) "select * from prof2cert where certid= and profid=24 limit 1" ["input"]=> array(0) { } } } ["type"]=> string(2) "->" ["args"]=> array(2) { [0]=> string(59) "select * from prof2cert where certid= and profid=24 limit 1" [1]=> array(0) { } } } [3]=> array(7) { ["file"]=> string(41) "/home/powers/public_html/course/index.php" ["line"]=> int(33) ["function"]=> string(9) "fetch_row" ["class"]=> string(5) "MyPdo" ["object"]=> object(MyPdo)#1 (4) { ["pdo"]=> object(PdoWrapper)#2 (4) { ["pdoHandle":"PdoWrapper":private]=> object(PDO)#3 (0) { } ["useTablecols"]=> int(0) ["useDatadumper"]=> int(0) ["sql"]=> array(2) { ["query"]=> string(59) "select * from prof2cert where certid= and profid=24 limit 1" ["input"]=> array(0) { } } } ["pdoHandle":"PdoWrapper":private]=> NULL ["useTablecols"]=> int(0) ["useDatadumper"]=> int(0) } ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> string(59) "select * from prof2cert where certid= and profid=24 limit 1" } } } }