Error in query: select * from tbltwar where id=. ERROR: syntax error at end of input LINE 1: select * from tbltwar where id= ^