'.$lang['i_modified'].'
'; print_errors(); }elseif(check_data($_REQUEST['d'])){ // check_data has sanitized all input parameters if(!store_data($_REQUEST['d'])){ echo ''.$lang['i_failure'].'
'; print_errors(); }else{ echo ''.$lang['i_success'].'
'; } }else{ print_errors(); print_form($_REQUEST['d']); } } catch (Exception $e) { echo 'Caught exception: ', $e->getMessage(), "\n"; } ?>