hmmm
this is what im tring to do
PHP Code:
$datecut = TIMENOW - $vboptions['cookietimeout'];
$teamusers = $DB_site->query("SELECT * FROM " . TABLE_PREFIX . "user
LEFT JOIN " . TABLE_PREFIX . "session ON(session.userid = user.userid) WHERE user.teamid='$teamid' ");
while ($members = $DB_site->fetch_array($teamusers))
{
$useronline = fetch_online_status($members);
}
now basiclly this query should give me
list of users which in $teamid and their online status
but its get ++++ed up some where