I have a problem connecting to MS Access and PHP, this is giving an error that I do not know how to fix, could someone help me?
The code is this:
//Abre a conexão asdasda
$conn = new COM('ADODB.Connection') or die('ADO não iniciado');
//linha 30
$conn->Open('Provider=Microsoft.Jet.OLEDB.4.0;
Data Source='.realpath('..\db\dashboard.accdb').';
Persist Security Info=False;');
//fim da linha 30
//Pronto para utilizar o banco de dados
// Fecha a conexão
$conn->Close();
and the error is this: