From 8f7c1467b8c8e300ab740373b3d5af0e62428607 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rytis=20Slatkevi=C4=8Dius?= Date: Mon, 30 Oct 2006 09:03:52 +0000 Subject: [PATCH] Function to lookup all teams where the user is founder svn path=/trunk/boinc/; revision=11398 --- html/inc/db.inc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/html/inc/db.inc b/html/inc/db.inc index 3231e79c1f..505882d484 100644 --- a/html/inc/db.inc +++ b/html/inc/db.inc @@ -75,6 +75,11 @@ function lookup_team($id) { return null; } +function lookup_team_founder($id) { + $result = mysql_query("select * from team where userid=$id"); + return $result; +} + function lookup_wu($id) { $result = mysql_query("select * from workunit where id=$id"); if ($result) {