Hi,I have an idea of no DSN to use access,but i faild.

From: Date: Thu, 07 Sep 2000 09:23:24 +0000
Subject: Hi,I have an idea of no DSN to use access,but i faild.
Groups: php.windows 
Request: Send a blank email to php-windows+get-2488@lists.php.net to get a copy of this message
Hi all,i have an idea to use access and not config dsn, but i don't know to how to do. exa: <? $cnpath = "DBQ=F:\\WINNT\\system32\\ias\\dnary.mdb"; $driver = "DRIVER={Microsoft Access Driver (*.mdb)};"; $pr = $driver.$cnpath; $dbc = new COM("ADODB.Connection"); $dbc->Provider = $pr; $dbc->Open("nwind"); $rs = $dbc->Execute("select * from Vendors"); ... ... ?> But i get a error and the ie will close, i don't know what cause that. Any advice ? Christine Green

« previous php.windows (#2488) next »