From: [EMAIL PROTECTED] Operating system: Linux PHP version: 4.1.2 PHP Bug Type: ODBC related Bug description: pretty random replies while using odbc functions
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 bug report at http://bugs.php.net/?id=15897&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=15897&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=15897&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=15897&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=15897&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=15897&r=support Expected behavior: http://bugs.php.net/fix.php?id=15897&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=15897&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=15897&r=submittedtwice