Say I have an array:
If I enter "s" how would I get a list of everything that starts with "s" in that array?PHP Code:$myarr = array('stir','cook','cake','mcdonalds','fry','rice','save','stir-fry');
Basically, I want it to search in the array, and list everything with "s" in it.



Reply With Quote

Bookmarks