<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <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> </head> <body> <? echo $t = $_REQUEST['t']; ?> <select name="jumpMenu" id="jumpMenu" onChange="MM_jumpMenu('parent',this,0)"> <option value="?">Select</option> <option value="?t=1111" <?=(($t == "1111") ? ' selected="selected" ' : '')?>>1111</option> <option value="?t=2222" <?=(($t == "2222") ? ' selected="selected" ' : '')?>>2222</option> </select> </body> </html>
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <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> </head> <body> <? if(isset($_REQUEST['t'])){ $t = $_REQUEST['t']; if($t == "1111"){ $whereclause = " WHERE t = '1111' "; }else if($t == "2222"){ $whereclause = " WHERE t = '2222' "; } echo $sql = "SELECT * FROM table_name ".$whereclause." "; } ?> <br> <select name="jumpMenu" id="jumpMenu" onChange="MM_jumpMenu('parent',this,0)"> <option value="?">Select</option> <option value="?t=1111" <?=(($t == "1111") ? ' selected="selected" ' : '')?>>1111</option> <option value="?t=2222" <?=(($t == "2222") ? ' selected="selected" ' : '')?>>2222</option> </select> </body> </html>
เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง