Web Scripting (PHP) Please create a two part form (an .html form and a form hand
ID: 3602436 • Letter: W
Question
Web Scripting (PHP)
Please create a two part form (an .html form and a form handler) for one program and create a one part multi data form for the other program.
1. Create/Customize a simple form that would take in information from the user and process the information. (It could take in a list of information from the user and display them). Use your creativity in creating the form and process them to create a usable real-life solution.
2. Create and display an order form that uses all the form elements (text boxes, checkbox, list (single and multiple), radio buttons, text area (for comments), buttons, images. Be creative and try to simulate a real life order form with sizes, quantity, images, etc etc.
Explanation / Answer
A HTML form
---------------------------------------------------------
<html>
<body>
<form action="Example.php" method="post">
Name: <input type="text" name="name"><br>
Number: <input type="text" name="number"><br>
<input type="submit">
</form>
</body>
</html>
----------------------------------------------------------------------
Example.php (to read and display information)
----------------------------------------------------------------------
<html>
<body>
Welcome <?php echo $_POST["name"]; ?><br>
Your number is: <?php echo $_POST["number"]; ?>
</body>
</html>
-----------------------------------------------------------------------------------
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.