<? include("connect.php");?> <form id="form1" name="form1" method="post" action="import.php" > <table width="800" height="55" border="0" > <tr> <th bgcolor="#00CCFF" align="center" height="40" >ลำดับที่</th> <th bgcolor="#00CCFF" align="center">เมนู</th> <th bgcolor="#00CCFF" align="center">รหัสสินค้า</th> <th bgcolor="#00CCFF" align="center">ชื่อสินค้า</th> <th bgcolor="#00CCFF" align="center">ประเภท</th> <th bgcolor="#00CCFF" align="center" width="60">ยี่ห้อ</th> <th bgcolor="#00CCFF" align="center">ราคาส่ง</th> <th bgcolor="#00CCFF" align="center">ราคาปลีก</th> <th bgcolor="#00CCFF" align="center">รับประกัน</th> <th bgcolor="#00CCFF" align="center">จำนวนที่เหลือ</th> </tr> <? $sql = "select*from tb_accessory order by id_acc"; $result=mysql_db_query($dbname,$sql) or die (mysql_error()); while ($row=mysql_fetch_array($result)){; ?> <tr> <td></td> <td></td> <td bgcolor="#999999" align="center" height="25"><?=$row[0]?></td> <td bgcolor="#999999" align="center"><?=$row[1]?></td> <td bgcolor="#999999" align="center"><?=$row[2]?></td> <td bgcolor="#999999" align="center"><?=$row[3]?></td> <td bgcolor="#999999" align="center"><?=$row[4]?></td> <td bgcolor="#999999" align="center"><?=$row[5]?></td> <td bgcolor="#999999" align="center"><?=$row[6]?></td> <td bgcolor="#999999" align="center"><?=$row[7]?></td> </tr><? } ?> </table> <p> <label for="textfield"></label> <label for=""></label> <label for="name"></label> <select name="name" id="name"> <option value="พวงมาลัย 14 นิ้ว">พวงมาลัย 14 นิ้ว</option> <option value="พวงมาลัย 16 นิ้ว">พวงมาลัย 16 นิ้ว</option> <option value="ไฟซีนอน">ไฟซีนอน</option> </select> <input type="submit" name="button" id="button" value="Submit" onClick="javascript:window.location.reload()" /> </p> <p> <label for="textfield2"></label> <input type="text" name="amount" id="amount" /> </p> </form>
<? include("connect.php");?> <form id="form1" name="form1" method="post" action="import.php" > <table width="800" height="55" border="0" > <tr> <th bgcolor="#00CCFF" align="center" height="40" >ลำดับที่</th> <th bgcolor="#00CCFF" align="center">เมนู</th> <th bgcolor="#00CCFF" align="center">รหัสสินค้า</th> <th bgcolor="#00CCFF" align="center">ชื่อสินค้า</th> <th bgcolor="#00CCFF" align="center">ประเภท</th> <th bgcolor="#00CCFF" align="center" width="60">ยี่ห้อ</th> <th bgcolor="#00CCFF" align="center">ราคาส่ง</th> <th bgcolor="#00CCFF" align="center">ราคาปลีก</th> <th bgcolor="#00CCFF" align="center">รับประกัน</th> <th bgcolor="#00CCFF" align="center">จำนวนที่เหลือ</th> </tr> <? $sql = "select*from tb_accessory order by id_acc"; $result=mysql_db_query($dbname,$sql) or die (mysql_error()); $i=1; while ($row=mysql_fetch_array($result)){ ?> <tr> <td><? echo $i?></td> <td></td> <td bgcolor="#999999" align="center" height="25"><?=$row[0]?></td> <td bgcolor="#999999" align="center"><?=$row[1]?></td> <td bgcolor="#999999" align="center"><?=$row[2]?></td> <td bgcolor="#999999" align="center"><?=$row[3]?></td> <td bgcolor="#999999" align="center"><?=$row[4]?></td> <td bgcolor="#999999" align="center"><?=$row[5]?></td> <td bgcolor="#999999" align="center"><?=$row[6]?></td> <td bgcolor="#999999" align="center"><?=$row[7]?></td> </tr><? $i++; } ?> </table> <p> <label for="textfield"></label> <label for=""></label> <label for="name"></label> <select name="name" id="name"> <option value="พวงมาลัย 14 นิ้ว">พวงมาลัย 14 นิ้ว</option> <option value="พวงมาลัย 16 นิ้ว">พวงมาลัย 16 นิ้ว</option> <option value="ไฟซีนอน">ไฟซีนอน</option> </select> <input type="submit" name="button" id="button" value="Submit" onClick="javascript:window.location.reload()" /> </p> <p> <label for="textfield2"></label> <input type="text" name="amount" id="amount" /> </p> </form>
เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง