Re: IBM DB2

From: Date: Mon, 21 Aug 2000 20:32:37 +0000
Subject: Re: IBM DB2
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-2242@lists.php.net to get a copy of this message
In article <003f01c0098f$bfcc8980$e340fea9@bellatlantic.net>, carlosi@bellatlantic.net ("Carlos Irigaray") wrote: Yes you need to use the odbc_* functions connect to database via odbc_pconnect or odbc_connect exec queries with odbc_exec() parse queries with odbc_num_rows results with odbc_result $DB_Database = "TEST"; $DB_User = "db2user"; $DB_Passwd = "db2pass"; $pConnID = @odbc_pconnect($DB_Database, $DB_User, $DB_Passwd) etc.... Jeff Warrington > ------=_NextPart_000_003C_01C0096E.387024E0 > Content-Type: text/plain; > charset="iso-8859-1" > Content-Transfer-Encoding: quoted-printable > > Hi. I built PHP on a Linux server running Apache with the = > --with-ibm-db2 option. I am a little confused as how I will use the API > = > to connect to a DB2 server running on another machine. BTW the DB2 = > server is running on an NT server. > > From what I could understand I need to use the odbc function set and use > = them as if they were db2 functions. > > > Has anybody done this and understand my confusion? > > > Thanks in advance. > > ------=_NextPart_000_003C_01C0096E.387024E0-- >

« previous php.db (#2242) next »