This commit is contained in:
Gerald Raab
2007-08-20 13:54:44 +00:00
parent 440e13170a
commit 1600ef5810
10 changed files with 355 additions and 63 deletions
+8
View File
@@ -222,6 +222,14 @@ class uebung
return false;
}
function get_next_nummer()
{
$qry = "SELECT max(nummer) FROM campus.tbl_uebung";
$result = pg_query($this->conn, $qry);
$row = pg_fetch_object($result);
$next = $row->max + 1;
$this->next_nummer = $next;
}
function load_uebung($lehreinheit_id, $level=null, $uebung_id=null)
{