Could not successfully run query () from DB: 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
SELECT idusuario, nombre, apellido, email, especialidad, (SELECT nombre FROM especialidades WHERE usuario.especialidad=especialidades.idespecialidades ) AS nombre_especialidad FROM usuario ORDER BY apellido ASC LIMIT 0,
SQL Error [256] (1064) 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
Query :
On line 260 in file /controladores/controladores_ajax/ajax_controller_busqueda_medica.php , PHP 5.6.40 (Linux)
Aborting...