Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

// Here is where your preprocessing code goes // An example is already given to you for the First Name $fname = $_POST['firstname']; ?> Week

// Here is where your preprocessing code goes

// An example is already given to you for the First Name

$fname = $_POST['firstname']; ?>

Week 8 Exercise 3 Form

Week 8 Exercise 3 PHP form demo

Please fill in the following form. All fields are mandatory.

First Name:

Email Address:

Postal Address:

Favourite sport: SoccerCricketSquashGolfTennisBasketballBaseball

Add me to the mailing list

The following information was received from the form:

First Name:

Modify the code given in exercise3.php so that:

A. all form values as submitted by the user are correctly displayed in the output section underneath the form. Note: The first form field has been done for you in the code.

B. the output section underneath the form only displays if the form has been submitted. Hint: review lecture notes and examples where we covered the idea of postback.

C. the Undefined Index notices do not display above the form

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts

Authors: David M. Kroenke

1st Edition

0130086509, 978-0130086501

More Books

Students also viewed these Databases questions

Question

Understand why customers are loyal to a particular service firm.

Answered: 1 week ago