Add index.php
This commit is contained in:
parent
80c12515fd
commit
f71845561d
1 changed files with 15 additions and 0 deletions
15
index.php
Normal file
15
index.php
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
<!DOCTYPE HTML>
|
||||||
|
<html>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<form action="index.php" method="post">
|
||||||
|
Name: <input type="text" name="name"><br>
|
||||||
|
E-mail: <input type="text" name="email"><br>
|
||||||
|
<input type="submit">
|
||||||
|
</form>
|
||||||
|
|
||||||
|
Welcome <?php echo $_POST["name"]; ?><br>
|
||||||
|
Your email address is: <?php echo $_POST["email"]; ?>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
Reference in a new issue