Connecting Tech Pros Worldwide Help | Site Map

which method is the best

  #1  
Old September 30th, 2005, 05:35 PM
chris
Guest
 
Posts: n/a
Hi,

I have already post this question but i still wonder which is the best
method for connecting Access with PHP. I know that Access is not the ideal
database, but for some reason i have to do with Access.
Are there advantages of some one?
Thanks

Chris

$connect = odbc_connect ('DRIVER={Microsoft Access Driver
(*.mdb)};DBQ=d:\access\newres.mdb', '', '');

or
$conn = new COM('ADODB.Connection');
$conn->Open("Provider=Microsoft.Jet.OLEDB.4.0; Data
Source=d:\access\newres.mdb");

or

include('../adodb/adodb.inc.php');
$dsn = 'Provider=Microsoft.Jet.OLEDB.4.0;'. 'Data
Source=d:\access\newres.mdb;';
$db = NewADOConnection('ado_access');
$db->PConnect($dsn);



Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
Which method is better Andrea answers 10 January 6th, 2007 02:25 PM
Which method is best for storing articles/daily updates? robert.dondo@gmail.com answers 2 December 8th, 2006 11:15 PM
Checking which method a delegate points to Russell Hind answers 2 November 17th, 2005 02:40 PM
SELECT Top. Which method is best? Samuel Hon answers 5 July 20th, 2005 02:33 AM