Get This Look for Less

Error in query: SELECT * FROM tbl_votes WHERE vote_treasury = AND vote_ip = '54.82.31.133'. You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND vote_ip = '54.82.31.133'' at line 1