I found out the error, on that page it counts all the people in the db for some reason.
my code is
$xttime = time();
$xttime -= 60 * 2;
$online = mysql_query("SELECT COUNT(*) as online FROM online WHERE online>='$xttime'") or die(mysql_error());
$online = mysql_fetch_array($online);
$peepsonline = $online[online];
It works, but only on the one page.