I get a parse error when I try to run this on my web site. It seems to occur at this line: ( '$host', '$name', '$description', '".date("YmdHis")."' ) ") or return(FALSE);
Please let me know what's wrong with it. It seems to work fine when I tested it. The rest of the coding where the line is used is below. Thanks
if($action == "connect")
{
if($name == "")
$name="noname server";
if($description == "")
$description="no description available!";
if($host == "")
$host = $REMOTE_ADDR;
$query = mysql_query("
INSERT
INTO $tblServers
( host, name, description, dateOnline )
VALUES
( '$host', '$name', '$description', '".date("YmdHis")."' ) ") or return(FALSE);
}