<?php
require_once('CharSVtoDbf.php');
$db = dbase_open('dbase.dbf', 2);
if ($db) {
$record_numbers = dbase_numrecords($db);
for ($i = 1; $i <= $record_numbers; $i++) {
$rows[] =array_map('trim', dbase_get_record_with_names($db, $i));
}
echo'<pre>';
var_dump($rows);
echo'</pre>';
}
dbase_close($db);
?>
|