note 110990 deleted from function.odbc-fetch-array by aharvey

From: Date: Tue, 08 Jan 2013 02:47:37 +0000
Subject: note 110990 deleted from function.odbc-fetch-array by aharvey
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-192813@lists.php.net to get a copy of this message
Note Submitter: SEA ---- code by armando dot ortiz at cppcorp dot com2 is expected to fetch every other record, because in every iteration it fetches 2 rows - one by odbc_fetch_row, another by odbc_fetch_array. If you intend to use odbc_fetch_row, it would be like: while( odbc_fetch_row( $myResultID ) ) { $ResColumn1 = odbc_result($myResultID, "column1"); ... $ResColumnN = odbc_result($myResultID, "columnN"); }

« previous php.notes (#192813) next »