new php programmer here, I apologize if this has already been asked:
I have an array filled with strings. Each string is the exact name of a page on my site, so the array is a sort of 'database'.
I'm wondering how to create a search engine that will let the user enter a keyword. The engine will then crawl my array of strings for any matches, and return a list of pages on my site that include the keyword in the pagename.
Any help is appreciated, not sure which functions to use to build this.
Thanks in advance!