<tr> <td width="102" align="right"> Branch :</td> <td width="481" align="left"> <select name="branch" id="branch"> <option value="">-- Select Branch --</option> <? include"../connect.php"; $sql="select * from branch"; $result=mysql_db_query($dbname,$sql); $number=mysql_num_rows($result); $no=1; if($number <> 0){ While($rs=mysql_fetch_array($result)){ $branch_id=$rs[branch_id]; $branch_host=$rs[branch_host]; $branch_name=$rs[branch_name]; echo" <option value='$branch_name'>$branch_name</option>"; $no++; } mysql_close(); } ?> </select> <script language="JavaScript" type="text/javascript" > if (theForm.branch.selectedIndex < 0) { alert("Please select one of the \"Branch\" options."); theForm.branch.focus(); return (false); }</script></td> <td width="1"> </td> </tr>
<script language="JavaScript" type="text/javascript" > if (theForm.branch.selectedIndex < 0) { alert("Please select one of the \"Branch\" options."); theForm.branch.focus(); return (false); } </script>
window.onload = function(){ // คำสั่ง }
เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง