i meant to ask why doesn't it exist/what have i missed..
I can post the other php code related to this if it helps.
Edit:
the other code:
<?php
$user="myusername";
$host="myhost";
$password="mypass";
$database="mydb";
$connection = mysql_connect($host,$user,$password)
or die ("Couldn't connect to server");
$db = mysql_select_db($database,$connection)
or die ("Couldn't select database");
$ip = $_SERVER['REMOTE_ADDR'];
$lang = $_SERVER['HTTP_ACCEPT_LANGUAGE'];
$referer = $_SERVER['HTTP_REFERER'];
$browser = $_SERVER['HTTP_USER_AGENT'];
$currentURL = $_SERVER['REQUEST_URI'];
$query = mysql_query("INSERT INTO Log VALUES ('',now(),'$ip',$lang','$referer','$browser','$currentURL')");