Warning: pg_query(): Query failed: ERROR: syntax error at or near "order" LINE 9: WHERE ni.nota_idnota = order by ni.mostrarporta... ^ in /home/imagenzac/public_html/desktop/nota.php on line 45 Hay un error: ERROR: syntax error at or near "order" LINE 9: WHERE ni.nota_idnota = order by ni.mostrarporta... ^