include ('DbAccess.php'); $date = date('c'); $ip = $_SERVER['REMOTE_ADDR']; $sql = "INSERT INTO `stats_09` (`ip`,`horaini`) VALUES ('$ip','$date')"; mysql_query($sql,DbAccess()); $id = mysql_insert_id(); ?>