Warning: pg_query(): Query failed: ERROR: syntax error at or near "ORDER" LINE 1: SELECT * FROM blog_comments WHERE postid= ORDER BY time ASC; ^ in /srv/www.dronebl.org/htdocs/frameworks/DroneBL/dbengine/postgresql.engine on line 10 Query failed