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
+9
View File
@@ -146,6 +146,15 @@ class beispiel
}
}
function get_next_nummer()
{
$qry = "SELECT max(nummer) FROM campus.tbl_beispiel";
$result = pg_query($this->conn, $qry);
$row = pg_fetch_object($result);
$next = $row->max + 1;
$this->next_nummer = $next;
}
// *******************************************
// * Prueft die Variablen vor dem Speichern
// * auf Gueltigkeit.