日期:2014-05-17 浏览次数:20516 次
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gbk" />
<title>查询商品</title>
</head>
<form action="createorder.php" method="post" >
<tr valign="top" bgcolor="#FFFFFF">
<td height="81">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="90" align="center" valign="top"> <br>
<table width="650" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#625D59">
<tr align="center" bgcolor="#CC99FF">
<td width="40">购买</td>
<td width="40">商品名</td>
<td width="40">订单备注</td>
</tr>
<?php
include('conn.php');//连接数据库。
mysql_query("use sale_system");
$sql=mysql_query("select commodity from stock");
$info=mysql_fetch_array($sql);