a textbox for an optional search term, and a file upload field which allows them to upload a file which contains multiple lines of text (with the file each line should be treated as a separate string).
The user can enter a string and upload a file in the same submission of the form.
For the single string: if a search term is provided, output the string with the search term highlighted (by wrapping the term in a span with an appropriate class).
For the file upload:, if a search term is provided output only the strings that contain the search term (with the search term highlighted) and a count of the number of strings that did not have the term.
please do this in PHP and HTML only
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here