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 Plz help me I will be very thankful. Quote Link to comment Share on other sites More sharing options...
sandhya Posted May 19, 2010 Author Share Posted May 19, 2010 anybody can't help me? is it a typical thing? Quote Link to comment Share on other sites More sharing options...
gwolgamott Posted May 19, 2010 Share Posted May 19, 2010 Ask this in the ms sql forum, may get a response. Not exactly right place to ask perhaps but considering it's access maybe it might be, but some window/php experts tend troll that area I've found. Quote Link to comment 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.