Although this article is more geared towards MySQL, the principles should apply to
ODBC, and you should be able to translate the MySQL functions to ODBC functions rather
easily.
http://www.phpbuilder.com/columns/florian19991014.php3
David Juras wrote:
Hi,
I'm working with PHP and ODBC
-Original Message-
From: Bruce S. Garlock [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 25, 2002 10:48 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP-DB] ODBC -- Setting ApplicationID
Sure, I'm simply trying to have PHP pass an ApplicationID to the
ODBC server.
When
upgrade to 4.2
Best regards,
Andrew Hill
Director of Technology Evangelism
OpenLink Software http://www.openlinksw.com
Universal Data Access Data Integration Technology Providers
-Original Message-
From: Bruce S. Garlock [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 21, 2002
Evangelism
http://www.openlinksw.com/virtuoso/whatis.htm
OpenLink Virtuoso Internet Data Integration Server
-Original Message-
From: Bruce S. Garlock [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 25, 2002 10:48 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP-DB] ODBC -- Setting ApplicationID
I am trying to set the ApplicationID, when connecting to an ODBC
datasource. I have tried:
odbc_setoption ($conn, 1, 1053, PHPAPP);
And get a:
SQL error: [iODBC][Driver Manager]Option type out of range, SQL state
S1092 in SetConnectOption
Basically, I want my PHP script to pass the