Bug #15897 Updated: pretty random replies while using odbc functions

From: Date: Fri, 14 Jun 2002 17:31:04 +0000
Subject: Bug #15897 Updated: pretty random replies while using odbc functions
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-10461@lists.php.net to get a copy of this message
ID: 15897 Updated by: kalowsky@php.net Reported By: adasi@grubno.da.ru -Status: Open +Status: Closed Bug Type: ODBC related Operating System: Linux PHP Version: 4.1.2 New Comment: I'm marking this as closed as I cannot reproduce this locally, nor can some other users who have tried. Few suggestions though, update your ODBC, update your PHP, and turn on ODBC logging/tracing to see if its your DB, driver, or PHP. Previous Comments: ------------------------------------------------------------------------ [2002-03-06 09:26:10] adasi@grubno.da.ru I'm wondering why code like this one: $conn = odbc_pconnect("$database", "$username", "$password"); $query = "select name from table"; $a=$query; $table = odbc_do($conn,$query); echo $query; odbc_fetch_row($table); echo odbc_result($table,1); work but if I comment out $a=query, echo $query or thing that should not make any difference it's not. It's not a test-suite (i'll send it as fast as I would get it). There's probably bug in odbc_fetch_row as all problems that I had were connected with it. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=15897&edit=1

« previous php.bugs (#10461) next »