CS222 Assignment 9: PHP
Instructor: Trish Cornez
Exercise 1
Create an html form, as shown in the figure below, and
a php script using the following guidelines :
- Use at least one constant.
- Use either a two-dimensional array or three independent arrays to store a
list of websites organized under the categories of
Books, Computers, and Music.
- Read the user's name, email address, and area of interest.
- Determine if the email address is valid - research how to do this.
- Create output as shown below. This output should be a greeting using the user's name,
verification of the email address, and a list of websites within the category they selected.
- Upload the web page, along with additional files, to your website.
Upload the php file to Moodle.
Sample Test 1:
--output-- 
Sample Test 2:
--output-- 