note 20015 modified in class.com by vrana
| From: | vrana@php.net | Date: | Thu, 05 Aug 2004 18:11:26 +0000 |
| Subject: | note 20015 modified in class.com by vrana | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-74039@lists.php.net to get a copy of this message | ||
For Access to Ms Access
use another Provider like this:
<?php
$conn = new COM("ADODB.Connection")
or die("Cannot start ADO");
$conn->Open("Provider=Microsoft.Jet.OLEDB.4.0; Data Source=./thefile.mdb;");
$rs = $conn->Execute("SELECT * FROM thetable");
?>
--was--
For Access to Ms Access
use another Provider like this:
$conn = new COM("ADODB.Connection")
or die("Cannot start ADO");
$conn->Open("Provider=Microsoft.Jet.OLEDB.4.0; Data Source=./thefile.mdb;");
$rs = $conn->Execute("SELECT * FROM thetable");
http://php.net/manual/en/class.com.php