Question: You will write a very basic web application in PHP that will create a dynamic search form. The PHP script will take user input from
You will write a very basic web application in PHP that will create a dynamic search form. The PHP script will take user input from the form and perform basic searches on files local to the webserver. Searches will involve JSON objects stored in those files.
The project will create an HTML form with five fields.The field im working on is matchValue.
The third field will map to matchValue and it will be a user entered string. You do not need to do any pre-processing (with Javascript, etc) on this string. Your form processing(PHP code) will handle that. For example, if the user selects "Gender" in "whatToMatch" and they type "John Smith" in this field, your program will simply return "no results found" because no gender field will have that match.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
