$_GET['id']); $obj = new form_quote_sheet($context); $obj->set(); if($_POST['Submit'] == "Save"){ $result = $obj->new_submit(); } $obj->view(); ?>