Fatal error: Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'CAP') and niin='010050167' and b.cage_code=a.cage order by a.refrence_number asc' at line 1 in /home/csgpar5/test.csgparts.com/classes/mysql_database.inc.php:115
Stack trace:
#0 /home/csgpar5/test.csgparts.com/classes/mysql_database.inc.php(115): mysqli_query(Object(mysqli), 'select a.isc,a....')
#1 /home/csgpar5/test.csgparts.com/finalproduct.php(653): MySqlDatabase->Execute('select a.isc,a....')
#2 {main}
thrown in /home/csgpar5/test.csgparts.com/classes/mysql_database.inc.php on line 115