I\'m trying to work with AJAX autocompletes and I am having a few problems with getting the two languages to work in synergy.
When I replace all the issets with only
You just need:
if (!empty($_POST['search_term']) && !empty($_POST['postcode']))
isset && !empty is redundant.
isset && !empty