Database->query('SELECT COUNT(*) FROM Server WHERE User='.$UserId); $DbRow = $DbResult->fetch_row(); return($DbRow[0]); } }