Assignment #5
(20 points)
-
Watch the video
Shopping Cart
(CC)
and continue reading up on PHP.
- Create a simple shopping cart using HTML and PHP
similar to the one developed in the video and shown below.
Save your work as "assignment5.html" and "shoppingCart.php".
You may use the images flashlight.jpg,
travel-mug.jpg, and
mouse.jpg. Or better yet use your own images.
View a screen capture of the HTML code
and the PHP code used to complete this assignment.
-
-
- Special considerations
-
- Create at least three items for sale that contain an item with a price and a picture.
- The price and the images shown in the HTML files must be passed to the
PHP file (i.e., shoppingCart.php) using "POST" when the command button is pressed.
- Your shopping cart allows the user to specify a new quantity.
- Upload your files to your YOUR-CLASS-WEBSITE.
Help.
|