mdybookok.php
来自「图书管理系统」· PHP 代码 · 共 39 行
PHP
39 行
<?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>
<?
//取得提交图书的信息
$tid = trim($_GET['id']);
$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 -> mdybook($tid,$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 + =
减小字号Ctrl + -
显示快捷键?