⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 addbook.php

📁 图书管理系统
💻 PHP
字号:
<?php
require "conn.php";
require "adminfun.inc";
require "top.php"
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title><?php echo $webname;?>_新书入库执行结果</title>
<meta name="keywords" content="" />
<meta name="description" content="" />
<link href="../default.css" rel="stylesheet" type="text/css" />
</head>
<body>
<center>
<?
	//取得提交图书的信息
	$tbookid=trim($_POST['bookid']);
	$tbookname=trim($_POST['bookname']);
	$tauthor=trim($_POST['bookauthor']);
	$tpublish=trim($_POST['publish']);
	$tpdate=trim($_POST['pdate']);
	$tprice=trim($_POST['price']);
	$tamount = trim($_POST['amount']);
	$tstate = trim($_POST['state']);
	$tmemo=nl2br(htmlspecialchars($_POST['memo']));

	$afun = new adminos();
	$afun -> addbook($tbookid,$tbookname,$tauthor,$tpublish,$tpdate,$tprice,$tamount,$tstate,$tmemo,$book);
?>
</center>
</body>
</html>
<center>
<?php
require "foot.php";
?>
</center>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -