帮助制作个人申请表 [英] Help with making a personal application form
问题描述
你好,
我刚开始用php / html
所以这是我的第一个项目。
我的第一个任务是:我必须用html / php制作一个数字申请表。
第一页我的应用程序必须显示问题:名字,姓氏,他们必须能够选择HTML表格必须完成的性别。
我必须使用提交给第二个的信息页面使其变得个性化。
如果表格得到这样的回答
名字:John
姓氏:Pennings
性别:男
它应该在下一页有这样的结果:
亲爱的彭宁斯先生。
我尝试过的事情:
我尝试制作第一页。
我根本不知道如何将它发送到第二页以及如何使用else / if语句。
我使用了notepad ++和Xammp控制面板(apache)。
这是我用于第一页的代码:
Hello there,
I am just beginning with php/html
so this is my very first project .
My first assignment is : I have to make a digital application form with html/php .
The first page of my application has to show the questions : First name, Last name and they have to be able to select which gender this has to be done with HTML forms.
Ill have to use the information submitted to a second page to make it personal .
So if the forms are answered like this
First name : John
Last name : Pennings
Gender : Male
it should have a outcome like this on the next page :
Dear Mr Pennings .
What I have tried:
I tried making the first page .
I simply dont know how to send it to a second page and how to use else/if statements .
I made use of notepad++ and Xammp control panel (apache).
This is the code i used for the first page :
<!DOCTYPE html>
<html>
<head>
<title> personal application form of Mohamed Bouchouari</title>
</head>
<body>
<h1> Input personal info please. </h1>
<form method="post" action="applicationform.php">
<TABLE CELLSPACING="5" CELLPADDING="5" BORDER="0">
<TR>
<TD>First name:</TD>
<TD><input type="text" name="First name" size="20"><br></TD>
</TR>
<TR>
<TD>Last name:</TD>
<TD><input type="text" name="Last name" size="20"><br></TD>
</TR>
<TR>
<form>
<input type="radio" name="gender" value="man" checked> Male<br>
<input type="radio" name="gender" value="vrouw"> Female<br>
</form>
</TR>
<TR>
<TD> Reset:</TD>
<TD><input type="reset" value="Reset" ><br> <br></TD>
</TR>
<TR>
<TD>Submit</TD>
<TD><input name="submit" type="submit" value="Submit"> <br></TD>
</TR>
</form>
</html>
谢谢提前
我没有经验也没有从老师那里得到任何关于这个的信息所以我完全在黑暗中
Thanks in advance
I have no experience nor did i get any info from my teachers about this so im completely in the dark
推荐答案
请参阅 PHP 5教程 [ ^ ]。
这篇关于帮助制作个人申请表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!