Notice: Undefined index: id in /home/funerar6/public_html/condolencias.php on line 88

Fatal error: Uncaught PDOException: 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 'order by ven.idventa Desc' at line 7 in /home/funerar6/public_html/modelos/obituarios.php:45 Stack trace: #0 /home/funerar6/public_html/modelos/obituarios.php(45): PDOStatement->execute() #1 /home/funerar6/public_html/controladores/obituarios.controlador.php(20): Obituarios::mostrar(NULL) #2 /home/funerar6/public_html/condolencias.php(92): ControladorObituarios::ctrMostrarFallecido(NULL) #3 {main} thrown in /home/funerar6/public_html/modelos/obituarios.php on line 45