name");
$n = $_POST["navailable_users"];
for ($i=0; $i<$n; $i++) {
if ($_POST["change_$i"] != 0) {
$userid = $_POST["change_$i"];
$user = lookup_user_id($userid);
if ($user->teamid != $team->id) {
echo "
$user->name is not a member of $team->name";
} else {
$query = "update team set userid=$userid, ping_user=0 where id=$team->id";
$result_user_table = mysql_query($query);
echo "
$user->name is now Founder of $team->name";
}
}
}
page_tail();
?>