<?php session_start(); include_once("conn/conn.php"); include("function.php");?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>饼形图分析软件图书市场占有率</title>
<style type="text/css">
<!--
.STYLE1 {font-size: 13px}
.STYLE2 {
font-size: 15px;
font-weight: bold;
}
-->
</style>
</head>
<body>
<table width="450" border="1" cellpadding="0" cellspacing="0">
<form name="form1" method="post" action="index_ok.php">
<tr>
<td height="30" colspan="5" align="center"><span class="STYLE2">饼形图分析软件图书市场占有率</span></td>
</tr>
<tr>
<td width="90" height="25" align="center" class="STYLE1">产品名称:</td>
<td width="90" align="left" class="STYLE1"><select name="select">
<?php $query=mysql_query("select * from tb_data");
while($myrow=mysql_fetch_array($query)){
?>
<option value="<?php echo $myrow[id];?>"><?php echo $myrow[product_name];?></option>
<?php }?>
</select> </td>
<td width="90" align="center" class="STYLE1">销量:</td>
<td width="90" align="center" class="STYLE1">
<input name="product_count" type="text" id="product_count" size="10">
</td>
<td width="90" align="center" class="STYLE1"><input type="submit" name="Submit" value="提交"></td>
</tr>
</form>
<tr>
<td colspan="5"><table width="100%" height="184" border="0">
<tr>
<td width="36%" height="180"><table width="100%" border="0">
<?php
$query=mysql_query("select * from tb_data where id=1");
$myrow=mysql_fetch_array($query);
$product_count1=$myrow[product_count];
?>
<tr>
<td colspan="2" align="center" class="STYLE1">总的图书销量:<?php echo $product_counts;?> </td>
</tr>
<tr>
<td width="65%" align="center" bgcolor="#97BD00"><span class="STYLE1"><?php echo $myrow[product_name];?></span></td>
<td width="35%" align="center"><span class="STYLE1"><?php echo $product_counts1;?>%</span></td>
</tr>
<?php
$query=mysql_query("select * from tb_data where id=2");
$myrow2=mysql_fetch_array($query);
$product_count2=$myrow2[product_count];
?>
<tr>
<td width="65%" align="center" bgcolor="#009900"><span class="STYLE1"><?php echo $myrow2[product_name];?></span></td>
<td width="35%" align="center"><span class="STYLE1"><?php echo $product_counts2;?>%</span></td>
</tr>
<?php
$query=mysql_query("select * from tb_data where id=3");
$myrow3=mysql_fetch_array($query);
$product_count3=$myrow3[product_count];
?>
<tr>
<td width="65%" align="center" bgcolor="#CC3300"><span class="STYLE1"><?php echo $myrow3[product_name];?></span></td>
<td width="35%" align="center"><span class="STYLE1"><?php echo $product_counts3;?>%</span></td>
</tr>
<?php
$query=mysql_query("select * from tb_data where id=4");
$myrow4=mysql_fetch_array($query);
$product_count4=$myrow4[product_count];
?>
<tr>
<td width="65%" align="center" bgcolor="#FFCC00"><span class="STYLE1"><?php echo $myrow4[product_name];?></span></td>
<td width="35%" align="center"><span class="STYLE1"><?php echo $product_counts4;?>%</span></td>
</tr>
<?php
$query=mysql_query("select * from tb_data where id=5");
$myrow5=mysql_fetch_array($query);
$product_count5=$myrow5[product_count];
?>
<tr>
<td width="65%" align="center" bgcolor="#3366CC"><span class="STYLE1"><?php echo $myrow5[product_name];?></span></td>
<td width="35%" align="center"><span class="STYLE1"><?php echo $product_counts5;?>%</span></td>
</tr>
</table></td>
<td width="64%"><img src="caky_img.php?lmbs=<?php echo $myrow[product_count];?>,<?php echo $myrow2[product_count];?>,<?php echo $myrow3[product_count];?>,<?php echo $myrow4[product_count];?>,<?php echo $myrow5[product_count];?>"/></td>
</tr>
</table></td>
</tr>
</table>
</body>
</html>
没有合适的资源?快使用搜索试试~ 我知道了~
饼形图分析软件图书市场占有率
共35个文件
myi:9个
frm:9个
myd:9个
需积分: 9 4 下载量 63 浏览量
2008-09-23
09:31:12
上传
评论
收藏 26KB RAR 举报
温馨提示
php关于饼形图的例子!饼形图分析软件图书市场占有率 内含有数据库!
资源推荐
资源详情
资源评论
收起资源包目录
.rar (35个子文件)
饼形图分析软件图书市场占有率
data
db_database14
tb_metal.frm 8KB
tb_mrbook.MYD 952B
tb_mrbook.frm 9KB
tb_department.MYD 148B
tb_jsq.MYI 2KB
tb_jsq.MYD 1KB
tb_metal.MYD 144B
tb_kucun.MYD 84B
tb_comment.MYD 80B
tb_mrbook.MYI 2KB
tb_data.MYD 104B
tb_book.frm 8KB
tb_chuku.frm 8KB
db.opt 65B
tb_data.frm 8KB
tb_data.MYI 2KB
tb_chuku.MYI 2KB
tb_kucun.MYI 2KB
tb_kucun.frm 8KB
tb_department.frm 8KB
tb_jsq.frm 8KB
tb_chuku.MYD 84B
tb_comment.MYI 2KB
tb_book.MYI 2KB
tb_department.MYI 2KB
tb_comment.frm 8KB
tb_book.MYD 224B
tb_metal.MYI 2KB
db_database14.rar 8KB
饼形图分析软件图书市场占有率
index.php 4KB
conn
conn.php 130B
index_ok.php 289B
Thumbs.db 9KB
caky_img.php 2KB
function.php 1KB
共 35 条
- 1
资源评论
yangshiqiong
- 粉丝: 7
- 资源: 5
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功