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 'agriculture' and FechaInicioAgenda='20150220'' at line 1 in /srv/vhost/faecagranada.com/home/html/Archivos/Externo.php:1118
Stack trace:
#0 /srv/vhost/faecagranada.com/home/html/Archivos/Externo.php(1118): mysqli_query()
#1 /srv/vhost/faecagranada.com/home/html/Archivos/Externo.php(830): EstaAgendaDiaAnterior()
#2 /srv/vhost/faecagranada.com/home/html/Archivos/Cargas.php(1114): ListadoAgenda()
#3 /srv/vhost/faecagranada.com/home/html/Archivos/Cargas.php(151): CargaContenido()
#4 /srv/vhost/faecagranada.com/home/html/Archivos/Cargas.php(63): CargaPaginaNormal()
#5 /srv/vhost/faecagranada.com/home/html/Publico/Pagina.php(15): CargaPagina()
#6 {main}
thrown in /srv/vhost/faecagranada.com/home/html/Archivos/Externo.php on line 1118