ERROR: 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 '' at line 1 | #0 /home/sigwm/public_html/ws/classes/dao/DAO.class.php(105): mysqli_query(Object(mysqli), 'SELECT ana.* , ...')
#1 /home/sigwm/public_html/ws/classes/dao/laudos/AnaliseDAO.class.php(128): DAO->getRows('SELECT ana.* , ...')
#2 /home/sigwm/public_html/ws/webservice/laudos/reports/export_analise.php(22): AnaliseDAO->getById(NULL)
#3 {main}
ERROR: 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 'ORDER BY ID' at line 1 | #0 /home/sigwm/public_html/ws/classes/dao/DAO.class.php(105): mysqli_query(Object(mysqli), 'SELECT * FROM l...')
#1 /home/sigwm/public_html/ws/classes/dao/laudos/FinalidadeDAO.class.php(74): DAO->getRows('SELECT * FROM l...')
#2 /home/sigwm/public_html/ws/webservice/laudos/reports/export_analise.php(25): FinalidadeDAO->getById(NULL)
#3 {main}