1st Hand-in Assignment Produce PHP code (and any necessary HTML) to perform the following functions: 1. Using the POST function, retrieve the contents of three HTML text boxes, which should contain floating point values in the range 0.0–10.0. 2. Place the values in an array, and then use a loop to search the array and validate the input. 3. Send a message back to the browser confirming whether the input is valid. 2nd Hand-in Assignment Identify the errors in the PHP code provided for you in assignment6.php (Download ZIP). Correct the code and create comments explaining why the original code would not work properly. Submit the corrected file, complete with comments, as assignment6xxxx.php, where ‘xxxx’ is your name. Remember not to include spaces in file names. The file assignment6.html is provided for you so that it can work with the PHP file. The PHP script will process replies sent from an HTML form in assignment6.html. The HTML file should not contain any errors. Submit the PHP and HTML files zipped into a single file.

The first assignment requires you to write PHP code that performs three functions. First, the code needs to retrieve the contents of three HTML text boxes using the POST function. The text boxes should contain floating point values between 0.0 and 10.0.

After retrieving the values, the code should store them in an array. Then, a loop should be used to search the array and validate the input. The code should check if the input values are within the specified range and return a message confirming whether the input is valid or not.

For the second assignment, you are given an existing PHP code in assignment6.php and your task is to identify any errors in the code and correct them. You should also provide comments explaining why the original code would not work properly.

The corrected file should be renamed as assignment6xxxx.php, with ‘xxxx’ being your name. Remember not to include spaces in the file name. Additionally, you should submit the corrected PHP file along with the associated HTML file (assignment6.html) in a single zipped file.

The HTML form file (assignment6.html) will be used to send replies to the PHP script. It is important to ensure that the HTML file does not contain any errors.

To complete the tasks for both assignments, you will need a strong understanding of PHP programming and HTML form handling. You should be familiar with PHP functions, such as retrieving and validating form input using the POST method. Additionally, you should be able to identify and fix errors in PHP code and provide appropriate comments explaining the code’s functionality.

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


Click Here to Make an Order Click Here to Hire a Writer