Get This Look for Less

Error in query: SELECT * FROM tbl_votes WHERE vote_treasury = AND vote_ip = '54.226.46.21'. 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.226.46.21'' at line 1