Programa Cientifico

Notice: Undefined index: id in /home/ajpyeventos/public_html/html/programa-cientificos.php on line 51

Notice: Undefined variable: codigo in /home/ajpyeventos/public_html/conexion/conexion.php on line 97

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 MariaDB server version for the right syntax to use near '' at line 1' in /home/ajpyeventos/public_html/conexion/conexion.php:100 Stack trace: #0 /home/ajpyeventos/public_html/conexion/conexion.php(100): PDO->query('SELECT * FROM e...') #1 /home/ajpyeventos/public_html/html/programa-cientificos.php(51): Conectar->get_personas_por_id(NULL) #2 {main} thrown in /home/ajpyeventos/public_html/conexion/conexion.php on line 100