RE: [PHP-WIN] connecting to a database using ODBC

2002-03-26 Thread Svensson, B.A.T. (HKG)
You need more than "sample code" to access an AccessDB via ODBC. For example: you need to know weather a proper ODBC data source has been set up, among other things... >-Original Message- >From: Someone Somewhere [mailto:[EMAIL PROTECTED]] >Sent: Tuesday, March 26, 2002 3:10 PM >To: [EMA

Re: [PHP-WIN] connecting to a database using ODBC

2002-03-26 Thread Piotr Pluciennik
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

Re: [PHP-WIN] Connecting to a database

2001-11-02 Thread anch.org
I'm your "Tech Psychic". You're obviously running one of those M$ productz and trying to install your own phpBB forum, aren't you? What you want to do is enter localhost as the host name (since you're a newbie you wouldn't be doing distributed access) and you'll have to use WinMySQLadmin to crea

RE: [PHP-WIN] Connecting to a database

2001-11-02 Thread Svensson, B.A.T.
What about the good old RTFM apporach, to start with? ;) -Original Message- From: Ross Fleming To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: 2001-11-02 01:11 Subject: RE: [PHP-WIN] Connecting to a database What database are you using? There are several you can use. mssql, mysql

RE: [PHP-WIN] Connecting to a database

2001-11-01 Thread Ross Fleming
What database are you using? There are several you can use. mssql, mysql, postgresql to name a few. Also, what system are you using (Windows 9x, 2K etc) and which server are you running? Let us know and we'll probably be able to get you up and running Ross -Original Message- From: Rao