Warning: Undefined array key "id" in /home/amadores/public_view/class/class_ops.php on line 3271
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
varprincipal = 'datos' AND
idprincipal = ''' at line 2 in /home/amadores/public_view/class/class_bbdd.php:47
Stack trace:
#0 /home/amadores/public_view/class/class_bbdd.php(47): mysqli->query('SELECT * FROM q...')
#1 /home/amadores/public_view/class/class_ops.php(3280): Bbdd->query(Object(mysqli), 'SELECT * FROM q...')
#2 /home/amadores/public_view/index.php(32): ops->obtenerDatosEmpresa(Object(Bbdd), Object(mysqli))
#3 {main}
thrown in /home/amadores/public_view/class/class_bbdd.php on line 47