hmm, i don't know the mysql php commandos very good.., i always use the $DB_site var from vb
it would look something like that:
PHP Code:
$adminonline = mysql_fetch_array(mysql_query("SELECT COUNT(userid) as total FROM session WHERE userid IN(1,4,5)"));
if ($adminonline['total'] > 1) {
echo("admin is online");
} else {
echo("admin is not online!");
}
in the IN () you can speciafy the userids of all your admins