$this->log("Insert location data start");
-// $this->insertLocation($location);
+ $this->insertLocation($location);
$this->log("Insert Block data start");
$this->jerr("invalid location file");
}
- $linecount = count(file($csv));
-
- print_r($linecount);exit;
-
$req = array(
'GEONAME_ID', 'CONTINENT_CODE', 'CONTINENT_NAME',
'COUNTRY_ISO_CODE', 'COUNTRY_NAME', 'SUBDIVISION_ISO_CODE',
{
ini_set("auto_detect_line_endings", true);
- $linecount = count(file($csv));
-
- print_r($linecount);exit;
-
$fh = fopen($csv, 'r');
if (!$fh) {
$this->jerr("invalid location file");