I have a array which i generated by values in a database, the example is below:
$addressarray = array($results[\'client\']->client_city, $results[\'client
try to use array_filter() on the $adressesarray, it filters empty values. For more array_filter()
array_filter()
$adressesarray