[PHP-DB] Connect to IBM DB2

2002-01-02 Thread Jerry
To connect to Microsoft SQL 7 I'm using the following script which works fine: ?php $query=SELECT * FROM DB1; $queryupd=UPDATE DB1 SET dateval='20010101' where dateval='2101'; $hostname = dbserver; $username = username; $password = pwd; $dbName = DB;

Re: [PHP-DB] Connect to IBM DB2

2002-01-02 Thread Frank M. Kromann
Hi, IBM DB/2 uses Call Level Interface (CLI) for communication between clients and server. The ODBC driver from IBM is a simple one to one wrapper arround CLI, as CLI and ODBC share the same specifications. Using ODBC will give you an extra layer though. On *nix platforms you can compile usen