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 id_medico, id_especialidad, nombre_medico, apellido_medico, telefono_consultorio, telefono_movil, telefono_habitacion, telefono_otro, localizador, fax, horario_consulta, direccion, email_medico, (SELECT nombre_especialidad FROM tbl_especialidades WHERE tbl_medicos.id_especialidad=tbl_especialidades.id_especialidad ) AS esp_nom FROM tbl_medicos WHERE activo=1 AND activo=1 ORDER BY nombre_medico 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_old.php , PHP 5.6.40 (Linux)
Aborting...