Use IBMs DB2 Connect client and compile php --with-db2. I use the server and
the client on linux platforms and have never been so happy with database work
;).
I've alse used iODBC with the db2 libraries to talk to DB2 with no real
performance change.
- Casey
On Wednesday 02 January 2002 08:
M DB2.
Maciek
> -Original Message-
> From: Jerry [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 02, 2002 2:14 PM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: [PHP] Connect to IBM DB2
> Now, how to connect to a DB2 database server without ODBC ?
--
PHP Gen
Jerry --
I didn't see any functions listed in:
http://www.php.net/manual/en/
for DB2 the ODBC maybe you only answers, heres the link:
http://www.php.net/manual/en/ref.odbc.php
David
> To connect to Microsoft SQL 7 I'm using the following script which
> works fine:
>
> $query="SELECT * FROM
To connect to Microsoft SQL 7 I'm using the following script which works
fine:
0){
print "Number of rows: $number";
while($i < $number){
$dateval = mssql_result($result,$i,"dateval");
echo "$dateval";
$i++;}
}
?>
Now, how to connect to a DB2 database server without ODBC ?
My config is:
Web
4 matches
Mail list logo