📄 edit_category.php
字号:
<?php// include function files for this applicationrequire_once('book_sc_fns.php'); session_start();do_html_header('Updating category');if (check_admin_user()){ if (filled_out($HTTP_POST_VARS)) { if(update_category($HTTP_POST_VARS['catid'], $HTTP_POST_VARS['catname'])) echo 'Category was updated.<br />'; else echo 'Category could not be updated.<br />'; } else echo 'You have not filled out the form. Please try again.'; do_html_url('admin.php', 'Back to administration menu');}else echo 'You are not authorised to view this page.'; do_html_footer();?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -