HI i made a code to open dbase's and put them into a table...
but i just cant find out a way how i could
get the names of the column....
can somebody help me??
<?php
$db = dbase_open("c:\test.dbf", 0);
$nr = dbase_numrecords($db);
echo "<table border=2>";
$i=1;
while($i <= $nr){
echo "<tr>";
$result = dbase_get_record_with_names($db, $i);
foreach($result as $val){
echo "<td>$val</td>";
}
echo "</tr>";
$i++;
}
echo "</table>";
?>