<?php include('up_index.php');?>
<script src="show.js"></script>
<center>
<form id="search_show"  action="search_show.php" method="get">
<table width="520" border="0" cellpadding="1" cellspacing="1" >
   <tr>
    <td width="513">ประเภทสินค้า :
      <select name="id_category" id="id_category" >
        <option value="">ทั้งหมด</option>
        <?php
			$sql2 = "select * from category";
			$result2 = mysql_query($sql2);
			while ($category = mysql_fetch_array($result2))
			{	?>
        <option value="<?=$category['id_category'];?>"><?=$category['name_category'];?></option>
        <?php	}	?>
      </select> 
      คำค้นหา
      <input name="name_product" type="text" id="name_product" maxlength="100" /> <input type="submit" name="button" id="button" value="ค้นหา" /></td>
    </tr>
</table
></form>
</center>




<?php include('down_index.php'); ?>