<br />Type of inquiry:* </p> <form method="post" action="contactengine.php"> <p style="font-size: 14px;"> <input name="choice" type="radio" id="radio1" value="radiobutton" checked />General <input name="choice" type="radio" id="radio2" value="radiobutton" />Client Service <input name="choice" type="radio" id="radio3" value="radiobutton" />Career Opportunity <input name="choice" type="radio" id="radio4" value="radiobutton" />Register Class</p> <p style="font-size: 14px; padding-top: 10px;">B&H Solutions is a privately held firm. We do not issue an annual report or make earnings information public </p> <p style="font-size: 14px; padding-top:10px; padding-bottom: 10px;">For information about our firm, visit the <a href="aboutus.php" class="textcon">About Us</a> section of this site </p> <div> <table style="padding-left: 0px; float: left;" class="form" border="0"> <tr> <th><label for="name"><span style="float: left;">Name:*</span></label></th> <td><input class="inp-text" name="name" id="name" type="text" size="30" /></td> </tr> <tr> <th><label for="email" title="Will be masked"><span>E-mail:*</span></label></th> <td><input class="inp-text" name="email" id="email" type="text" size="30" /></td> </tr> <tr> <th><label for="company" ><span>Company <br />or school:</span></label></th> <td><input class="inp-text" name="company" id="company" type="text" size="30" /></td> </tr> <tr> <th><label for="subjectcon" ><span>Subject:*</span></label></th> <td><input class="inp-text" name="subjectcon" id="subjectcon" type="text" size="30" /></td> </tr> <tr> <th class="message-up"><label for="message"><span>Message:*</span></label></th> <td> <textarea name="message" id="msg" cols="50" rows="5"></textarea> </td> </tr> <tr> <td class="submit-button-right"></td><td class="submit-button-right"><input class="submit-text" type="reset" value="Clear" /> <input class="submit-text" type="submit" value="Submit" /></td> </tr> </table> </div> </form>
<?php header('Content-Type: text/html; charset=utf-8'); header('Refresh: 2; url=contact.php'); ?> <?php $choose=$_POST['choose']; $name=$_POST['name']; $email=$_POST['email']; $message=$_POST['message']; $company=$_POST['company']; $subjectcon=$_POST['subjectcon']; $to = "[email protected]"; $subject = "1 New contact from your website"; $msg = " Description Name : $name Email : $email Company or School : $company Subject : $subjectcon Message : $message "; $headers = " "; //$headers.= "Content-Type: text/html; charset=utf-8"; $ok = mail("$to", "$subject", "$msg", "$headers"); if (!$ok) { echo"????????????"; } else { // ????????? ? ??????? // echo "??????????????"; echo "<BR><BR><CENTER><IMG SRC=\"images/email-marketing.jpg\" BORDER=\"0\" ><BR><BR><FONT SIZE=\"5\" COLOR=\"#009900\"><B> Your message has been sent! </B></FONT></CENTER><BR><BR> "; } ?>
Quote:<input name="choice" type="radio" id="radio1" value="radiobutton" checked />
<input name="radio1" type="radio" id="radio1" value="general" checked />General
echo $_REQUEST['radio1']; // ผลที่ได้คือ general
เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง