note 14225 deleted from ref.odbc by sniper

From: Date: Tue, 04 Nov 2003 00:37:27 +0000
Subject: note 14225 deleted from ref.odbc by sniper
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-59757@lists.php.net to get a copy of this message
Note Submitter: dseidel@sylphen.com ---- I have wrote an odbc_fetch_array-function. It works like the mysql_fetch_array-function. The source: /** the same like mysql_fetch_array for ODBC * params : resultset * return : assoziative array of actual row * or false if no more entries * author : Dierk Seidel (dseidel@sylphen.com), Sylphen.com KG, www.sylphen.com * last modified : 23.07.2001 */ function odbc_fetch_array($res) { if(odbc_fetch_into($res, '', $ret)) { while (list($key,$value)=@each($ret)) { $arret[odbc_field_name($res, $key+1)] = $value; } return $arret; } else return false; }

« previous php.notes (#59757) next »