http://www.tssn.net

PHP教程一个表单

<html>
<p>share your story of alien abduction</p>
<form method="post" action="Report.php">
<label for="firstname">firstname:</label>
<input type="text" id="firstname" name="firstname" /><br/>
<label for="lastname">lastname:</label>
<input type="text" id="lastname" name="lastname" /><br/>
<label for="email">what is your email address:</label>
<input type="text" id="email" name="email" /><br/>
<label for="whenithappened">when did it happen:</label>
<input type="text" id="whenithappened" name="whenithappened" /><br/>
<label for="howlong">how long were you gone:</label>
<input type="text" id="howlong" name="howlong" /><br/>
<label for="howmany">how many did you see:</label>
<input type="text" id="howmany" name="howmany" /><br/>
<label for="x ">describe them:</label>
<input type="text" id="aliendescription" name="aliendescription" size="32" /><br/>
<label for="whattheydid">what did they do to you?</label>
<input type="text" id="whattheydid" name="whattheydid" size="32"/><br/>
<label for="fangspotted">have you seen my dog fang?</label>
Yes <input type="text" id="fangspotted" name="fangspotted" type="radio" value="Yes" /><br/>
No <input type="text" id="fangspotted" name="fangspotted" type="radio" value="No" /><br/>
<lable for="other">Anything else you want to add?</lable>
<textarea id="other" name="other"></textarea><br/>
<input type="submit" name="submit" value="Report abduction">
</form>
</html>

郑重声明:本文版权归原作者所有,转载文章仅为传播更多信息之目的,如作者信息标记有误,请第一时间联系我们修改或删除,多谢。