6, 2002 3:10 PM
>To: [EMAIL PROTECTED]
>Subject: [PHP-WIN] connecting to a database using ODBC
>
>
>Can anyone offer some help
>
>I need to connect to an acces database, Using php on Windows with Apache.
>If anyone has some sample code I would greatly appreciate it I am
Hi,
**first step:
create DSN in Windows (Control Panel, ODBC) and bind
it with your Access database
**then in php code:
$dbhandle = odbc_connect('YourDSN', '','');
if($dbhandle == 0)
{
die('Error connecting DB'); // or error
handler
}
*here do your
Can anyone offer some help
I need to connect to an acces database, Using php on Windows with Apache.
If anyone has some sample code I would greatly appreciate it I am lost about
the wholeODBC thing.
Cirkit
_
Chat with friends on