ID:               3754
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Bogus
 Bug Type:         ODBC related
 Operating System: Win NT 4.0 Workstation SP5
 PHP Version:      3.0.15
 New Comment:

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.




Previous Comments:
------------------------------------------------------------------------

[2000-03-07 03:52:54] [EMAIL PROTECTED]

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>

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=3754&edit=1

Reply via email to