<input type="hidden" name="hdn_i_psr" value=<? echo "$i_psr"; ?>> <input type="checkbox" name="show_i_psr" onClick="if(this.checked){this.form.i_psr.value=this.form.hdn_i_psr.value}else{this.form.i_psr.value='';}" /> <input type=text name=i_prs size=15> <br> <input type="hidden" name="hdn_i_ppp" value=<? echo "$i_ppp"; ?>> <input type="checkbox" name="show_i_ppp" onClick="if(this.checked){this.form.i_ppp.value=this.form.hdn_i_ppp.value}else{this.form.i_ppp.value='';}" /> <input type=text name=i_ppp size=15>
<? require_once "include/connectdb.php"; ?> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-874" /> <title>Untitled Document</title> </head> <body> <form> <? $sql_person="select * from member where idcard='5215262562152'"; $db_query=mysql_db_query($db,$sql_person); $result_p=mysql_fetch_array($db_query); $title=$result_p[title]; $name=$result_p[name]; $surname=$result_p[surname]; $position=$result_p[position]; $salary=$result_p[salary]; ?> <p> <input type="checkbox" name="show_address" onclick="if(this.checked){name1.value='<? echo $name; ?>';surname.value=20}else{name1.value='';surname.value='';}" /> <br> ชื่อ : <input name="name1" id="name1" type="text" value=""> </p> <p> นามสกุล : <input name="surname" type="text" id="surname" value=""> </p> </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=utf-8" /> <title>Untitled Document</title> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.0/jquery.js"></script> <script type="text/javascript"> function chk(selector1,selector2){ if($(selector1).attr('checked')==true){ $('#'+selector2).val($('#hdn_'+selector2).val()); }else{ $('#'+selector2).val(''); } } </script> </head> <body> <input type="hidden" name="hdn_i_prs" id="hdn_i_prs" value="1"> <input type="checkbox" name="show_i_psr" id="show_i_psr" onclick="chk('#show_i_psr','i_prs');" /> <input type=text name="i_prs" id="i_prs" size=15> <br> <input type="hidden" name="hdn_i_ppp" id="hdn_i_ppp" value="2"> <input type="checkbox" name="show_i_ppp" id="show_i_ppp" onclick="chk('#show_i_ppp','i_ppp');" /> <input type=text name="i_ppp" id="i_ppp" size=15> </body> </html>
เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง