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