get_values_from_form(); $scan_request->save(); $action = ""; print ''; exit; break; case 'edit': print $scan_request->get_form(); break; case 'delete': $scan_request->delete(); require_once('./circ/scan_request/scan_requests.inc.php'); break; default: print $scan_request->get_form(); break; }