<?php
//header('Content-Type: text/plain');
require 'class.b3rtCSVReader.php';
$csvReader = new b3rtCSVReader();
$csvReader->setFilename('./example.csv');
$csvReader->setDelimiter(';');
while ($csvRecord = $csvReader->fetchRecord())
print_r($csvRecord);
if ($csvReader->getErrors())
{
echo "\nErrors:\n";
print_r($csvReader->getErrors());
}
unset($csvReader);
?>
|