\n";
echo "".str_replace(","," | ",substr($keys,1,-1))." |
\n";
$first=false;
};
$vals=str_replace("',","'",substr($vals,9,-1));
echo " | ".str_replace("null,","null | ",$vals)." |
\n";
flush();
} else {
$sql.=substr($keys,0,-1).")";
$sql.=substr($vals,0,-1).")";
$rc=$db->query($sql);
if (!$rc) echo "Fehler: ".$sql."\n";
}
$j++;
};
$zeile=fgetcsv($f,1200,$trenner);
}
fclose($f);
echo $j." $file importiert.\n";} else {
?>
Kontakt-Adressimport für die ERP
}; ?>