<?php include( "../ConnectionDb.php" ); $sql="select * from orders_enroll where pd_id='$pd_id'"; mysql_query("SET NAMES 'tis620'"); $dbquery=mysql_db_query($dbname,$sql); while($result=mysql_fetch_array($dbquery)){ $pd_id= $result['pd_id']; $pd_name= $result['pd_name']; $pd_price = $result['pd_price']; $quantity=$quantity['quantity']; } ?> <link href="../main.css" rel="stylesheet" type="text/css"> <title>แก้ไขรายการสินค้าที่เบิก</title> <table width="787" height="59" border="0" align="center" cellpadding="0" cellspacing="0" bordercolor="#CCCCCC"> <tr> <td><? include("top.php");?> <? include ("../function.php");?> <td><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td><center> <fieldset> <legend>แก้ไขรายการสินค้าที่เบิก </legend> <form name="form1" mothod="post" action="?order_id=<?=$rs[order_id]?>&pass=pass "> <table width="515" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="222"><div align="right" class="style18">รหัสสินค้า :</div></td> <td width="293"><font color="#0099FF"><?php echo"$pd_id"; ?><input name="pd_id" type="hidden" id="pd_id" value="<?php echo"$pd_id"; ?>" size="20"/></font></td> </tr> <tr> <td><div align="right" class="style18">ชื่อสินค้า :</div></td> <td><input name="pd_name" type="text" id="pd_name" value="<?php echo"$pd_name"; ?>" size="40" /></td> </tr> <tr> <td><div align="right" class="style18">ราคา :</div></td> <td><label> <input name="pd_price" type="text" id="pd_price" value="<?php echo"$pd_price"; ?>" size="10" /> </label></td> </tr> <tr> <tr> <td><div align="right" class="style18">จำนวน :</div></td> <td><label> <input name="quantity" type="text" id="quantity" value="<?php echo"$quantity"; ?>" size="10" /> </label></td> </tr> </table> <p><label></label><input type="Submit" name="Submit" value="บันทึก"> <label> <input type="reset" name="Reset" id="button" value="Reset" /> </label> </p> </form> </p> <p class="button"> </p> </fieldset></center> </tr> <tr> <td><hr/></td> </tr> </table> </td> </tr> </table>
เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง