I am having issues getting the results returned through ajax call. The console.log(data) is returning [undefined] on this ajax call:
$.get(root+'hoteles/functions/ean/get-zones.php', { zo: zones_arr }, function(data){ 
     return data; 
     },'json');
The response from the file is returning correctly and is json encoded including the header tag.
 
    