my site i get stats provided to me in cvs format which i then can put into my database via a .cvs importer but I have noticed an issue with my coding in where it explodes the Birth City.
Ex.. Canadian and United States players it will show the
City, State/Province, Country
where all other countries show only
When I first made the script i only needed City, Country so thats all I included now I need to make it so when its importing it can tell the difference.
here is the code that explodes the Birth City
$birthplace = str_replace('Birth place:', '', $section);
$temp = explode(',', $birthplace);
$birthcity = trim($temp);
$country = trim($temp);