php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3754 No output appears in the Browser (Netscape 4.7 or IE 4) for odbc_result
Submitted: 2000-03-07 03:52 UTC Modified: 2002-10-01 15:17 UTC
From: oliver dot rennert at kuehne-nagel dot com Assigned:
Status: Not a bug Package: ODBC related
PHP Version: 3.0.15 OS: Win NT 4.0 Workstation SP5
Private report: No CVE-ID: None
 [2000-03-07 03:52 UTC] oliver dot rennert at kuehne-nagel dot com
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>

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-10-01 15:17 UTC] hholzgra@php.net
Sorry, but the bug system is not the appropriate forum for asking
support questions. Your problem does not imply a bug in PHP itself.
For a list of more appropriate places to ask for help using PHP,
please visit http://www.php.net/support.php

Thank you for your interest in PHP.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 06:01:30 2024 UTC