PHP array search
<p>I'm trying to add some quick and simple search functionality to a site. The site has an XML file with all their stores, and I want to create a search box to search for the closest store to the user by town or postcode.</p>

<p>I have put all the data into an array, but as far as I can tell, there is no way to 'search' an array (NOT array_search) to retrieve results like using a MySQL LIKE query.</p>

<p>Surely there must be a way? Using MySQL isn't an option in this case.</p>
