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 '. d.product_code_int=10 and doc_type_name_vc='Catalogues' order by d.display_ord' at line 1 in /home/kunacom/public_html/synergyframe/config/inc/appmain.inc:175 Stack trace: #0 /home/kunacom/public_html/synergyframe/config/inc/appmain.inc(175): mysqli_query(Object(mysqli), 'select d.docume...') #1 /home/kunacom/public_html/synergyframe/config/classes/documents.inc(40): db_get_all('select d.docume...') #2 /home/kunacom/public_html/index.html(471): CDocuments->getList(0, 0, ' d.product_code...') #3 {main} thrown in /home/kunacom/public_html/synergyframe/config/inc/appmain.inc on line 175