<? include ("mysql_connect.php");?> <? $strSQL = "SELECT * FROM operator"; $objQuery = mysql_query($strSQL) or die ("Error Query [".$strSQL."]"); ?> <form id="form1" method="get" action="fee_mounth.php"> <div align="center"> <p><br /> <select name="select" > <? while($objResult = mysql_fetch_array($objQuery)) { ?> <option value="<?=$objResult["id"];?>"> <?=$objResult["thainame"];?> </option> <? } ?> </select> </p> <p> </p> <p> <label> </label> <label> <input type="submit" name="button" id="button" value="Submit" /> </label> <br /> </p> <p></p> </div> </form> </body> </html>
<!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=windows-874" /> <title>Untitled Document</title> </head> <script type="text/javascript"> <!-- function MM_jumpMenu(targ,selObj,restore){ //v3.0 eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'"); if (restore) selObj.selectedIndex=0; } //--> </script> <body> <? include ("mysql_connect.php");?> <? $strSQL = "SELECT * FROM operator"; $objQuery = mysql_query($strSQL) or die ("Error Query [".$strSQL."]"); ?> <form id="form1" method="get" action="fee_mounth.php"> <div align="center"> <p><br /> <select name="select" id="select" onChange="MM_jumpMenu('parent',this,0)"> <? while($objResult = mysql_fetch_array($objQuery)) { ?> <option value="page.php?select=<?=$objResult["id"];?>"> <?=$objResult["thainame"];?> </option> <? } ?> </select> </p> <p> </p> <p> <label> </label> <label> <input type="submit" name="button" id="button" value="Submit" /> </label> <br /> </p> <p></p> </div> </form> </body> </html> </body> </html>
เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง