Function to lookup all teams where the user is founder

svn path=/trunk/boinc/; revision=11398
This commit is contained in:
Rytis Slatkevičius 2006-10-30 09:03:52 +00:00
parent 6629e9a22c
commit 8f7c1467b8
1 changed files with 5 additions and 0 deletions

View File

@ -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) {