Create a web page containing images for movies available for rent (at least 8 movies), so that…

Need your ASSIGNMENT done? Use our paper writing service to score better and meet your deadlines.


Order a Similar Paper Order a Different Paper

1) Create a web page containing images for movies available for rent (at least 8 movies), so that each time you visit the home page, you see a different order of movies on the page. (Note: You can use your previous home page (from Assignment 2) if you would like, or create a new one. The movie images are required, all other information is optional.) (12 points)

2) The rental price for each movie ranges between $1.99 to $7.99. • Create an associative array with the movie name as the key and the associated rental price as the value. Display to the browser the “key” — “value” pairs from the array using a foreach or while loop. (5 points) • Sort the array according to the rental price in ascending order. Display the sorted array using the print_r() function, with proper formatting. (5 points) • Calculate and display the average rental price for a movie. (3 points) Display these results on the same page.

3) Certain words are not allowed on the website. When a user submits a review (using the User Review Form from Assignment 2), you need to check the review for the following words, and replace the words with generic characters (such as, “!@#$%”). The banned words are: “stupid”, “idiotic”, “rubbish” and “horrible”.

Write a function that checks the submitted user review for these words, replaces them with a generic string, and outputs the censored user review to the browser.

"Is this question part of your assignment? We can help"

ORDER NOW
Writerbay.net

Do you need help with this or a different assignment? We offer CONFIDENTIAL, ORIGINAL (Turnitin/LopesWrite/SafeAssign checks), and PRIVATE services using latest (within 5 years) peer-reviewed articles. Kindly click on ORDER NOW to receive an A++ paper from our masters- and PhD writers.

Get a 15% discount on your order using the following coupon code SAVE15


Order a Similar Paper Order a Different Paper