For several days I have tried to connect to a DBISAM database but I have not managed it, download and install odbc driver and I do excel tests and it works perfect but when I try PHP it gives me an error, this is the script I'm using:
<?php
$dsn = '"DRIVER={DBISAM 4 ODBC Driver}; ConnectionType=Local; CatalogName=C:/direccion donde estan las tablas;';
$user = '';
$password = '';
try {
$dbh = new PDO($dsn, $user, $password);
echo "conexion establecidad";
} catch (PDOException $e) {
echo 'Connection failed: ' . $e->getMessage();
}
?>
this is the error that appears to me:
Connection failed: could not find driver