IIS4.0, PHP4, WinNT4 sp6a

From: Date: Tue, 01 Aug 2000 15:08:43 +0000
Subject: IIS4.0, PHP4, WinNT4 sp6a
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-9457@lists.php.net to get a copy of this message
Hi guys i'm running php4 on NT using DLL's and I want to open a database connection to an ODBC database so I write some things along the lines of <code> $connect = odbc_connect('dbconn' ,'sa', ''); if(!$connect) { echo ("Not Connected!"); } else { echo ("Connected! $connect"); } </code> This is fine and prints <display> Connected! Resource id #1 </display> now if I try and run a sql statement on it ie <code> $connect = odbc_connect('dbconn' ,'sa', ''); if(!$connect) { echo ("Not Connected!"); } else { echo ("Connected! $connect"); $x = odbc_exec($connect, "select * from table1;"); } </code> it stops my web server. doesn't freeze it actually stops it for some reason. Adrain Sweeney

« previous php.general (#9457) next »