I have several days struggling with this, I need to migrate a table of .dbf
to MySQL for which I try to open it with the next one caught and then go through it but it throws me an error,
$db = dbase_open("INARTICULOS.DBF", 0);
if($db){
$numero_registros = dbase_numrecords($db);
for($i = 1; $i <= $numero_registros; $i++){
$fila = dbase_get_record_with_names($db, $i);
echo $fila["RAZSOC"];
}
}
Error: * Fatal error: Call to undefined function dbase_open () in /Applications/XAMPP/xamppfiles/htdocs/DBFtoMysql/index.php on line 5 *
I need to activate the dbase extension, but in the file php.ini
is not, and tried from my Mac and from Windows help please.