Invalid SQL: SELECT * FROM poll WHERE id = '' :: Resource id #18Invalid SQL: SELECT * FROM choices WHERE (id='' AND pollid='') :: Resource id #18Invalid SQL: UPDATE poll SET votes='' WHERE id='' :: Resource id #18Invalid SQL: UPDATE choices SET votes='' WHERE (id='' AND pollid='') :: Resource id #18 No database selected