i am creating a poll in php. i have a table with an id column. when a user submits a choice, i want the php to first query the db and check whether the table "id" has the id of the current user. i am pretty new at mysql. can someone help me with the query?
thanks a lot.