Adds zip code to the GetCities function. This function is only used in memberentry.pl.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
$city{""} = "";
while ( my $data = $sth->fetchrow_hashref ) {
push @id, $data->{'city_zipcode'}."|".$data->{'city_name'};
- $city{ $data->{'city_zipcode'}."|".$data->{'city_name'} } = $data->{'city_name'};
+ $city{ $data->{'city_zipcode'}."|".$data->{'city_name'} } = $data->{'city_name'} . " " . $data->{'city_zipcode'};
}
#test to know if the table contain some records if no the function return nothing