Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Exercise 4 - PHP scripting You have been given an HTML file called registrationForm.html which creates an HTML form to collect information about users for

image text in transcribed

image text in transcribed

image text in transcribed

Exercise 4 - PHP scripting You have been given an HTML file called registrationForm.html which creates an HTML form to collect information about users for the purpose of adding users to a mailing list. See figure 1. This is a sample registration form. Please fill in all fields and click Register. Which book would you like information about? Internet and WWW How to Program 2e Which operating system are you currently using? Windows XP Windows 7 Mac OS X Linux Other Done Local intranet Figure 1: Brower output of the registrationForm.html document Your task is to write an HTML document with PHP embedded script to process the form data and call this when the Register button is pressed. Send the form data using the post method. When the user enters data as shown in figure 2, the output of your PHP script (that is sent to the browser) should look as shown in figure 3. (You don't actually need to add the data to a database for this exercise.) This is a sample registration form. Please fill in all fields and click Register. Hi Boriana . Thank you for completing the survey. You have been added to the Internet and WWW How to Program 2e mailing list. The following information has been saved in our database: BorianaKoleva bnk@cs.nott.ac.uk01158466530 Windows XP This is only a sample form. You have not been added to a mailing list. Figure 3: Output of the PHP script using the form data shown in figure 2

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 Design And Relational Theory Normal Forms And All That Jazz

Authors: Chris Date

1st Edition

1449328016, 978-1449328016

More Books

Students also viewed these Databases questions