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 'and ano_periodo= and id_cta_fk_hm=''' at line 1 in /home/wwwsolius/public_html/solinix_2026/nuevo_mes1.php:52 Stack trace: #0 /home/wwwsolius/public_html/solinix_2026/nuevo_mes1.php(52): mysqli_query(Object(mysqli), 'select * from ...') #1 {main} thrown in /home/wwwsolius/public_html/solinix_2026/nuevo_mes1.php on line 52