PHP 4.4.1 and Interbase

From: Date: Mon, 07 Jan 2002 19:28:54 +0000
Subject: PHP 4.4.1 and Interbase
Groups: php.general 
Request: Send a blank email to php-general+get-79725@lists.php.net to get a copy of this message
I am running PHP 4.1.1 on RH Linux 7.2 with Apache and I am getting an error as soon as I try to execute the query. The browser error with Netscape is "Document contains no data. Try again later..." echo('Opening Interbase<br>'); $dbh = db_open($host,$user,$password); if ($dbh) { $stmnt = 'SELECT COUNT(*) FROM PHOTOS'; $sthdl = ibase_query($stmnt,$dbh); if ($sthdl) { echo('Query succeeded<br>'); } else { echo('Cannot perform query<br>'); } echo('Closing Interbase<br>'); ibase_close($dbh); } else { echo('Could not open Interbase!<br>'); } If I comment out $stmnt = 'SELECT COUNT(*) FROM PHOTOS'; All run fine. Also, this piece of code use to work. Any suggestions? Todd -- Todd Cary Ariste Software todd@aristesoftware.com

« previous php.general (#79725) next »