Subversion-Projekte lars-tiefland.em_wm

Revision

Revision 31 | Revision 52 | Zur aktuellen Revision | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 31 Revision 49
Zeile 49... Zeile 49...
49
						VALUES ('$this->t_name', $this->t_group)";
49
						VALUES ('$this->t_name', $this->t_group)";
50
					break;
50
					break;
51
				case "update":
51
				case "update":
52
					$sql="UPDATE teams SET t_name='$this->t_name', t_group=$this->t_group WHERE t_id=$this->t_id";
52
					$sql="UPDATE teams SET t_name='$this->t_name', t_group=$this->t_group WHERE t_id=$this->t_id";
53
					break;
53
					break;
54
				case "del":
54
				case "delete":
55
					$sql="DELETE FROM teams WHERE t_id=$this->t_id";
55
					$sql="DELETE FROM teams WHERE t_id=$this->t_id";
56
					break;
56
					break;
57
			}
57
			}
58
			return $db->query($sql);
58
			return $db->query($sql);
59
		}
59
		}