$ip = $_SERVER['REMOTE_ADDR']; $AntiCheat = array(); $sqlAntiCheat = "SELECT * FROM tbl_ips WHERE ips='$ip'"; $result = @mysql_query($sqlAntiCheat) or die("<font color='#ff0000'>Under Construction - Check again soon!</font>"); if(mysql_num_rows($result)>0){ } else { Code (markup): Can anyone tell me what I did wrong? Thanks.
And the problem is? Try or die(mysql_error()) rather than this error message that doesn't give you any information.