Question: Need PHP help for web page. Write the PHP code for a web page that searches for names that contain a given letter a given
Need PHP help for web page.


Write the PHP code for a web page that searches for names that contain a given letter a given number of times, case-insensitively. Your web service would be located in a file named q4.php on the server. In this same directory is a file peeps.txt; each line of this file contains a name. For example: Helene Martin Robert Purple Marty Stepp Stuart Reges Bob Loblaw The names are guaranteed to be non-empty and unique. Your web service accepts a query parameter named letter indicating the character to be searched for, and a parameter named times indicating how many times that character must occur, case-insensitively. For each name that contains the letter at least the given number of times, an HTML paragraph should be printed indicating
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
