Using pdo_odbc?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
PhpDog
Forum Commoner
Posts: 58
Joined: Mon Jan 14, 2008 10:23 am

Using pdo_odbc?

Post by PhpDog »

As I'm having stability problems with standard odbc connection, I thought that I'd take a look at pdo_odbc.

I'm connecting to a proprietary database (Sage Line 100 accounts) using their odbc driver. My dsn is setup: name SageLine132, user: Fred, password: letmein on my development box. I works fine with Excel.

Can someone give me a pointer of how to connect to this with php via pdo_odbc please? This is new to me.
User avatar
yacahuma
Forum Regular
Posts: 870
Joined: Sun Jul 01, 2007 7:11 am

Re: Using pdo_odbc?

Post by yacahuma »

you can also try php adodb. Are you using unix or windows?

http://phplens.com/adodb/supported.databases.html
PhpDog
Forum Commoner
Posts: 58
Joined: Mon Jan 14, 2008 10:23 am

Re: Using pdo_odbc?

Post by PhpDog »

yacahuma wrote:you can also try php adodb. Are you using unix or windows?

http://phplens.com/adodb/supported.databases.html
I'm using Windows XP Pro in this case.

Many thanks for the link.
Post Reply