Warning: Attempt to read property "orden" on null in /home/ascensod/public_html/fns/resultadosTDI.php on line 25

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 'order by orden desc limit 1' at line 1 in /home/ascensod/public_html/fns/resultadosTDI.php:29 Stack trace: #0 /home/ascensod/public_html/fns/resultadosTDI.php(29): mysqli->query('select id,nombr...') #1 /home/ascensod/public_html/resultados_tdi.php(26): botoneraResultadosTDI('18') #2 {main} thrown in /home/ascensod/public_html/fns/resultadosTDI.php on line 29