Error en la consulta de conteo de registros: SELECT COUNT(*) FROM noticias WHERE vigente=1 AND YEAR(fecha)=2022?ano=2021 ORDER BY id DESC. Mysql dijo: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '?ano=2021 ORDER BY id DESC' at line 1