Notice: Undefined index: GalCodigo in /var/www/ on line 13 Fatal error: Uncaught exception 'Exception' with message '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 ')' at line 1' in /var/www/ Stack trace: #0 /var/www/ MYSQL->fetchAll('SELECT * FROM t...') #1 {main} thrown in /var/www/ on line 163