Hi,
I'm a new PHP user, but am proficient in ASP.
I tried to connect to an access database using the following code and received an error:
<?
$conn = new COM('ADODB.Connection');
$conn->Open("Provider=Microsoft.Jet.OLEDB.4.0; Data Source=D:\data\sites\85917\CKV\www\Db.mdb");
?>
Error Received: Fatal error: Cannot instantiate non-existent class: com in /data/sites/85917/CKV/www/Gallery.php on line 7
Line seven is the first line in my code
Can someone tell me why I'm receiving this error and how I can connect to my database?