Register|Login

Have a question? Click here to ask the community.

Tutorial 20 – Forms

| In: 20. Forms | 12,713 views

Video Tutorial

Part 1


Video Source Code

File: form.php

1
2
3
4
5
6
7
8
9
10
11
12
13
<html>
<body>
<!-- Tutorial Description: PHP Forms -->
 
<form action="form_success.php" method="post">
First Name: <input type="text" name="firstName" /><br>
Last Name: <input type="text" name="lastName" /><br>
Email: <input type="text" name="email" /><br>
<input type="submit" />
</form>
 
</body>
</html>

File: form_success.php

1
2
3
4
5
6
7
8
<html>
<body>
 
Hello <?php echo $_POST["firstName"]; ?>, your email,
<?php echo $_POST["email"]; ?>, has now been added.
 
</body>
</html>



1 Response to Tutorial 20 – Forms

Avatar

adroitashish

July 5th, 2016 at 4:18 pm

where is part 2

Comment Form

You must be logged in to post a comment.