Programming Assignment 3 Add forms in your web page so that visitors can add a comment about your web page – Example: Forms should include the following elements: – A text field – A textarea field – A set of radio button – A dropdown menu – A submit button Write a PHP file to display all data a visitor inputs in a new page after the submit button is clicked – Test the input of radio button and print out different messages Submission instructions: 1.Submit your.php files to the corresponding Dropbox on ANGEL 2.In the message box, include the URL of your webpage The URL should look like: IST2101
2
Hints Create comment.php for form input – A text field for name – A button for Yes/No – A textarea for comment Learn this format by yourself – A dropdown list for rating Create process_comment.php to process form – Echo name – Use “IF/ELSE” to echo “like” or “do not like” – Echo comment – Echo rating IST2103
Advanced Requirement (10 bonus points) Use HTML table to get input fields aligned as shown in the screenshots. IST2104