Notice: Undefined variable: cirlet in /srv/www/itribu/htdocs/elecciones2017/primarias2017/candidato_concejal.php on line 88 Notice: Undefined variable: cirnro in /srv/www/itribu/htdocs/elecciones2017/primarias2017/candidato_concejal.php on line 88 Notice: Undefined variable: cirnro in /srv/www/itribu/htdocs/elecciones2017/primarias2017/candidato_concejal.php on line 103 Notice: Undefined variable: cirlet in /srv/www/itribu/htdocs/elecciones2017/primarias2017/candidato_concejal.php on line 103 Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42000]: Syntax error or access violation: 1064 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 lu.cirlet='' ORDER BY p.numero_sorteo,l.numero_sorteo' at line 13' in /srv/www/itribu/htdocs/elecciones2017/primarias2017/candidato_concejal.php:106 Stack trace: #0 /srv/www/itribu/htdocs/elecciones2017/primarias2017/candidato_concejal.php(106): PDO->query(' SELECT l.id,l....') #1 {main} thrown in /srv/www/itribu/htdocs/elecciones2017/primarias2017/candidato_concejal.php on line 106