📄 insert_category.php
字号:
<?php// include function files for this applicationrequire_once('book_sc_fns.php'); session_start();do_html_header('Adding a category');if (check_admin_user()){ if (filled_out($HTTP_POST_VARS)) { $catname = $HTTP_POST_VARS['catname']; if(insert_category($catname)) echo "Category '$catname' was added to the database.<br />"; else echo "Category '$catname' could not be added to the database.<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 + -