<table width="678" border="0" cellpadding="3" cellspacing="0"> <tr> <td colspan="3" bgcolor="#DEE2ED" class="style30"><div align="left"><span class="style42"><span class="normal13blue">Step 2. Personal Information</span></span></div></td> </tr> <tr> <td bgcolor="#E5E5E5" class="style30"> </td> <td bgcolor="#E5E5E5" class="style30"><div align="left"></div></td> <td bgcolor="#E5E5E5" align="left"><p> <label> <input name="first" type="radio" value="Mr" checked> Mr.</label> <label> <input type="radio" name="first" value="Mrs"> Mrs.</label> <label> <input type="radio" name="first" value="Miss"> Miss</label> </p></td> </tr> <tr> <td width="131" bgcolor="#E5E5E5" class="style30"> </td> <td width="144" bgcolor="#E5E5E5" class="narmal3old"><div align="right">Firstname:</div></td> <td width="385" bgcolor="#E5E5E5" align="left"><span class="style36"> <input name="firstname" type="text" id="firstname"/> <span class="style7">* </span></span></td> </tr> <tr> <td bgcolor="#E5E5E5" class="style30" > </td> <td bgcolor="#E5E5E5" class="narmal3old" ><div align="right">Lastname:</div></td> <td bgcolor="#E5E5E5"align="left"><span class="style36"> <input name="lastname" type="text" id="lastname" /> <span class="style7">* </span></span></td> </tr> <tr> <td bgcolor="#E5E5E5" class="style30"> </td> <td bgcolor="#E5E5E5" class="narmal3old"><div align="right">Heigth:</div></td> <td bgcolor="#E5E5E5"align="left"><span class="style36"> <input name="heigth" type="text" id="heigth" size="3" maxlength="3" /> </span><span class="style44">cm.</span><span class="style36"> <span class="style7">* </span></span></td> </tr> <tr> <td bgcolor="#E5E5E5" class="style30"> </td> <td bgcolor="#E5E5E5" class="narmal3old"><div align="right">Weigth:</div></td> <td bgcolor="#E5E5E5" align="left"><span class="style36"> <input name="weigth" type="text" id="weigth" size="3" maxlength="3" /> <span class="style39">kg.</span></span> <span class="style7">* </span></td> </tr> <tr> <td bgcolor="#E5E5E5" class="style30"> </td> <td bgcolor="#E5E5E5" class="narmal3old"><div align="right">Marital Status:</div></td> <td bgcolor="#E5E5E5" align="left"><span class="style36"> <label> <select name="marry" id="marry"> <option value="Single">Single</option> <option value="Married">Married</option> <option value="Divorce">Divorce</option> </select> <span class="style7">* </span></label> </span></td> </tr> <tr> <td bgcolor="#E5E5E5" class="style30"> </td> <td bgcolor="#E5E5E5" class="narmal3old"><div align="right">Number Child: </div></td> <td bgcolor="#E5E5E5"align="left"><span class="style36"> <input name="child" type="text" id="child" /></span></td> </tr> <tr> <td bgcolor="#E5E5E5" class="style30"> </td> <td bgcolor="#E5E5E5" class="narmal3old"><div align="right" > Nationality: </div></td> <td bgcolor="#E5E5E5"align="left"> <span class="style36"> <input name="Nationality" type="text" id="Nationality" /> <label> <span class="style7">* </span></label> </span></td> </tr> <tr> <td bgcolor="#E5E5E5" class="style30"> </td> <td bgcolor="#E5E5E5" class="narmal3old"><div align="right">Origin:</div></td> <td bgcolor="#E5E5E5"align="left"><span class="style36"> <label> <input name="Origin" type="text" id="Origin" /> <span class="style7">* </span></label> </span></td> </tr> <tr> <td bgcolor="#E5E5E5" class="style30"> </td> <td bgcolor="#E5E5E5" class="narmal3old"><div align="right">Religion:</div></td> <td bgcolor="#E5E5E5"align="left"><span class="style36"> <label> <input name="Religion" type="text" id="Religion" /> <span class="style7">* </span></label> </span></td> </tr> <tr> <td bgcolor="#E5E5E5" class="style30"> </td> <td bgcolor="#E5E5E5" class="narmal3old"><div align="right">Date of Birth:</div></td> <td width="385" bgcolor="#E5E5E5"align="left"><span class="style36"> <select name="Day" > <option>Day</option> <? for($i=1;$i<=31;$i++){ if($i<10){ echo "<option value=\"0$i\">$i</option>"; } else{ echo "<option value=\"$i\">$i</option>"; } } ?> </select> <select name="Month"> <option selected>Month</option> <option value="01">January</option> <option value="02">Fabuary</option> <option value="03">March</option> <option value="04">April</option> <option value="05">May</option> <option value="06">June</option> <option value="07">July</option> <option value="08">August</option> <option value="09">September</option> <option value="10">October</option> <option value="11">November</option> <option value="12">December</option> </select> <select name="Year" > <option>Year</option> <? $years=date(Y); for($i=$years;$i>$years-60;$i--){ echo "<option value=\"$i\">$i</option>"; } ?> </select> <span class="style7">* </span></span></td> </tr> <tr> <td bgcolor="#E5E5E5" class="style30"> </td> <td bgcolor="#E5E5E5" class="narmal3old"><div align="right">Smoking:</div></td> <td bgcolor="#E5E5E5"align="left"><span class="style36"> <label> <select name="Smoke" id="Smoke"> <option value="no" selected="selected">no</option> <option value="yes">yes</option> </select> <span class="style7">* </span></label> </span></td> </tr> <tr> <td bgcolor="#E5E5E5" class="style30"> </td> <td bgcolor="#E5E5E5" class="narmal3old"><div align="right">Drink:</div></td> <td bgcolor="#E5E5E5"align="left"><span class="style36"> <label> <select name="drink" id="drink"> <option value="no" selected="selected">no</option> <option value="yes">yes</option> </select> <span class="style7">* </span></label> </span></td> </tr> </table>
if( preg_match("/^[0-9][0-9][0-9]$/", $msg) ) { คำสั่งทำงานต่อไป } else { ออกจากการทำงาน หรือข้ามไปทำคำสั่ง ต่อไป }
เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง