So my question, how can i search the mysql table for the ip address? For example the table is:
voting
option:-------ipaddress:
B------------1111.111.11
A------------1212.121.41
So is there a sql query i can use to see if there is an ipaddress 4912.121.49
Then i was thinking of doing:
$result="mysql_query($ipcheck)";
if ($result==true or $ip or somthing?)
echo "sorry you can only vote once"
else
mysql_query($query);
Well somthing along thoes lines. Not even sure if that is right or if you can do that.
Anyway any help will be appreciated. Thanks
NB: White Italics means comment (not in code)



. If you find one tell me