{~ $country = ['id' => $IP['abbr_country']]; $subtitle = array(); if(isset($IP['name']) && !empty($IP['name'])) { $subtitle[] = $IP['name']; } if(isset($IP['description']) && !empty($IP['description'])) { $subtitle[] = $IP['description']; } $subtitle = join(', ', $subtitle); $subtitle = preg_replace('/-|_/', ' ', $subtitle); ~} {****}