Fatal error: Uncaught Exception: 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 '-24,24' at line 24 in /www/beby-com.com.ar/htdocs/funciones/database.php:51
Stack trace:
#0 /www/beby-com.com.ar/htdocs/funciones/functionsproductos.php(391): db->query('\n\t\tSELECT A.Cod...')
#1 /www/beby-com.com.ar/htdocs/funciones/functionsproductos.php(230): ListadoProductos('\n\t\tSELECT A.Cod...')
#2 /www/beby-com.com.ar/htdocs/productos.php(79): Productos()
#3 {main}
thrown in /www/beby-com.com.ar/htdocs/funciones/database.php on line 51