Bug #3754: No output appears in the Browser (Netscape 4.7 or IE 4) for odbc_result

From: Date: Tue, 07 Mar 2000 08:52:54 +0000
Subject: Bug #3754: No output appears in the Browser (Netscape 4.7 or IE 4) for odbc_result
Groups: php.dev 
Request: Send a blank email to php-dev+get-16488@lists.php.net to get a copy of this message
From: oliver.rennert@kuehne-nagel.com Operating system: Win NT 4.0 Workstation SP5 PHP version: 3.0.15 PHP Bug Type: ODBC related Bug description: No output appears in the Browser (Netscape 4.7 or IE 4) for odbc_result When calling this script from the command line it produces the correct output. When launching via http://localhost/adressen.php the last line I see is Dummy before. When I look at the page source it ends correctly with </body> </html> I am using OmniHttpd version 2.06 The php3.ini file contains the relevant line: extension=php_odbc.dll The script adressen.php reads: <html> <head> <title>Adressen</title> </head> <body> first line<BR> <? $id=odbc_connect("Adressen","adressen","adressen"); $select="SELECT * FROM Kontakte WHERE Vorname like " . "'%Oliver%'" ." ORDER BY Vorname;"; echo $select; echo "Dummy before<BR>"; $AbfrageID=odbc_exec($id,$select); while ($zeile=odbc_fetch_row($AbfrageID)){ echo odbc_result($AbfrageID,"Vorname") . "<BR>"; echo "Dummy after<BR>"; } odbc_close($id); ?> </body> </html>

« previous php.dev (#16488) next »