search

Home  >  Q&A  >  body text

Please help me, how do I connect PHP7.3.4 to the mdb database of Access2000?

php5.5.38 has no problem connecting to the mdb database of Access2000, but after upgrading PHP to 7.3.4, it cannot connect. Can this version of php still connect to the mdb data?

php5.5.38 code that can connect correctly

$dsn = "DRIVER=Microsoft Access Driver (*.mdb);dbq=".realpath("db.mdb");

$conn = @odbc_connect($dsn,"","",SQL_CUR_USE_ODBC ) or die ("Connect Error!");


@GB.@GB.1939 days ago1339

reply all(0)I'll reply

No reply
  • Cancelreply