Question: A ) [ 4 points ] Implement a PHP webpage that allows users to rank their favourite movies. The page includes the fields shown in

A)[4 points] Implement a PHP webpage that allows users to rank their favourite movies.
The page includes the fields shown in the figure below (a select element, input text element
and a submit button)
The select element is filled with movies list retrieved from the movies DB->movie table. You
have to retrieve the movielD and movieName from the DB to fill both the option value with
the movie id and display the name on screen.
The user should select a movie from the list first then fill in the input text filed with the rank
of the selected movie. Ranks should have the range values 1,5.
Then the user should click the Validate submit button which posts the data into the same
action page to validate the user input using php script. (both movield and movieRank should
be submitted to the server which will save the data in the Ranking table in the DB.)
The submitted data will not be saved if the rank number is out of the required range instead
an error message should be echo into screen.
Select Movie:
Rank:
A ) [ 4 points ] Implement a PHP webpage that

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!