sandhya Posted May 19, 2010 Share Posted May 19, 2010 hi all, I have a big problem with access database connectivity using php. with dsn i'm able to connect. but not with out DSN. while using the following code .. $db = 'emailid.mdb'; $conn = new COM('ADODB.Connection') or exit('Cannot start ADO.'); $conn->Open("Provider=Microsoft.Jet.OLEDB.4.0; Data Source=$db") or exit('Cannot open with Jet.'); i'm getting the following error. Fatal error: Call to a member function Open() on a non-object in /home/sphoor21/public_html/san/accemail/data1.php on line 18 please help me I will be very thankful. Quote Link to comment https://forums.phpfreaks.com/topic/202291-problem-with-connecting-to-access-database-using-php/ Share on other sites More sharing options...
James25 Posted June 14, 2010 Share Posted June 14, 2010 woulg be glad, but I have no suggestion at the moment Quote Link to comment https://forums.phpfreaks.com/topic/202291-problem-with-connecting-to-access-database-using-php/#findComment-1071722 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.