Hi i want to load DBF file to mysql, am using xampp,php version 5.5.6
i had write the below code,
But am getting Error ---
Fatal error: Call to undefined function dbase_open() in
C:xampphtdocsimportsimport_geo.php on line 47
$dbf = dbase_open('OUTLETS/regions.dbf', 0);
$num_records = dbase_numrecords($dbf);
for($i=1;$i<=$num_records;$i++)
{
$record = dbase_get_record_with_names($dbf, $i);
$stmt_bricks->execute(array(
':id' => $next_brick_id,
':type' => 'Region',
':code' => $record['REG_CODE'],
':descr' => $record['REG_DESC'],
));
$regions_code_to_id[$record['REG_CODE']] = $next_brick_id++;
}
I saw in one article, we have to uncomment extension=php_gmp.dll
in php.ini, but in my php.ini
extension=php_gmp.dll
is not available, please help me.
Thanks in advance
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…