Notice: Undefined index: cod_presupuesto in C:\xampp\htdocs\AceptacionCirugia\index.php on line 2
Notice: Undefined index: usrcod in C:\xampp\htdocs\AceptacionCirugia\index.php on line 3
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 MariaDB server version for the right syntax to use near '' at line 1 in C:\xampp\htdocs\AceptacionCirugia\buscasmotivos.php:6
Stack trace:
#0 C:\xampp\htdocs\AceptacionCirugia\buscasmotivos.php(6): PDO->query('select PresupFe...')
#1 C:\xampp\htdocs\AceptacionCirugia\index.php(4): include('C:\\xampp\\htdocs...')
#2 {main}
thrown in C:\xampp\htdocs\AceptacionCirugia\buscasmotivos.php on line 6