OK, so I want to know this:
Is my IP in my database? If yes, find the timestamp of entry.
So far I have this:
$ip = $_SERVER['REMOTE_ADDR'];
$myip = mysql_query("SELECT * FROM votes WHERE ip = '$ip'");
If(mysql_num_rows($myip) > 0){
//find timestamp and name it as a variable e.g $ipTime
Thats as far as I've got, and for the life of me, I'm a little stuck, anyone help me?