'; print_r($addrDetailsArr); die();*/ if(!$city){ $city='Not Define'; }if(!$country){ $country='Not Define'; } echo 'IP Address:- '.$ip_address.''; echo 'City:- '.$city.''; echo 'Country:- '.$country.''; ?>