Question
Background
This project will implement a simple initial shopping interface. The visitor will be invited to select a product to view, and in response will be shown a page about that product. Spend a little time thinking up an enterprise that this would serve, and keep everything consistent with that theme.
Create a single PHP web page named project8.php that has two modes:
1. When visited without supplying form data, it presents the visitor with a form, suitably laid out, allowing the visitor to select one of a small number (three or four) of products. This can be done in a way you prefer, e.g. with a menu or radio buttons.
2. When the form is submitted, your PHP script responds with a page providing
information about the selected product. This does not need to be elaborate, but each different product's page needs to be unique.
Solution Preview
These solutions may offer step-by-step problem-solving explanations or good writing examples that include modern styles of formatting and construction of bibliographies out of text citations and references. Students may use these solutions for personal skill-building and practice. Unethical use is strictly forbidden.
<!DOCTYPE html><!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
<head>
<meta charset="UTF-8">
<title></title>
</head>
<body>
<?php
error_reporting (E_ALL ^ E_NOTICE);
$p = $_REQUEST['product'];
if (isset...
By purchasing this solution you'll be able to access the following files:
Solution.zip.