// Generate general statistics
$result = SQL_QUERY_ESC("SELECT `userid`,`count` AS `total_visits`, UNIX_TIMESTAMP(`last_surfed`) AS `last_surfed`
FROM `{?_MYSQL_PREFIX?}_surfbar_stats`
WHERE `url_id`=%s
ORDER BY `userid` ASC",
// Generate general statistics
$result = SQL_QUERY_ESC("SELECT `userid`,`count` AS `total_visits`, UNIX_TIMESTAMP(`last_surfed`) AS `last_surfed`
FROM `{?_MYSQL_PREFIX?}_surfbar_stats`
WHERE `url_id`=%s
ORDER BY `userid` ASC",