I am using ADODB for the first time with PHP and MySQL, and I keep getting a weird error that doesn't really tell me what the problem is.
The error is:
Fatal error: mysql error: [: ] in EXECUTE("SELECT * FROM packages") in /home/... /include/adodb/adodb-errorhandler.inc.php on line 77
and the code that causes that error:
Code: Select all
$rs = $DB->Execute("SELECT * FROM $PackageTableName");
Any insight would be wonderful. I tried searching around Google for ADODB errors but couldn't find this one (it's a [: ] ?). Perhaps I am not using ADODB correctly?