hello
i have this code for authorization ip
<?php
require_once('../Connections/config.php');
$ip = $_SERVER['REMOTE_ADDR'];
mysql_query("DELETE FROM ip_addresses WHERE ip_addresses_date < DATE_SUB(NOW(), INTERVAL 24 HOUR)");
$query1 = "select * from ip_addresses where ip_addresses_number = '123'";
$result1 = @mysql_query ($query1,$config) or trigger_error(mysql_error(),E_USER_ERROR);
if($result1){
echo "yes";
}else{
echo "hi";
}
?>
simply the result still giving me yes however the ip_addreeses table is empty of rows
how??!