switch ($option) { case "details_anzeigen": $f = new formular(); $f->fieldset("Details anzeigen", 'details'); $d = new detail(); // class details neue, nicht berlussimo $d->detailsanzeigen($detail_tabelle, $detail_id); $f->fieldset_ende(); break; case "details_hinzu": $f = new formular(); $f->fieldset("Details hinzufügen", 'details'); $d = new detail(); // class details neue, nicht berlussimo $vorauswahl = $_REQUEST['vorauswahl']; $d->form_detail_hinzu($detail_tabelle, $detail_id, $vorauswahl); $f->fieldset_ende(); break; case "detail_gesendet": $f = new formular(); $f->fieldset("Details hinzufügen", 'details'); $d = new detail(); // class details neue, nicht berlussimo /* * echo "<pre>"; * print_r($_POST); * echo "</pre>"; */ $d = new detail(); if ($_POST['detail_kat'] != 'nooption') { if ($_POST['detail_ukat'] != 'nooption') {