mysql compare table values

DyncDacyequah

New Member
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 database 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?
 
Back
Top