#23146 [NEW]: odbc_result column 1 empty after first use

From: Date: Thu, 10 Apr 2003 09:04:45 +0000
Subject: #23146 [NEW]: odbc_result column 1 empty after first use
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-37512@lists.php.net to get a copy of this message
From:             wohlfarth dot m at web dot de
Operating system: Win2k SP2
PHP version:      4.3.1
PHP Bug Type:     ODBC related
Bug description:  odbc_result column 1 empty after first use

$idresult2 = odbc_exec($iddb, $sqlqry2);
odbc_fetch_row($idresult2);

// Column 1 contains a string
if ( odbc_result($idresult2, 1) <> "" ) {
   // Column 1 is now empty
   echo odbc_result($idresult2, 1);
};
-- 
Edit bug report at http://bugs.php.net/?id=23146&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=23146&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=23146&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=23146&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=23146&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=23146&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=23146&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=23146&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=23146&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=23146&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=23146&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23146&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=23146&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=23146&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=23146&r=gnused



Thread (14 messages)

« previous php.bugs (#37512) next »