note 26828 added to function.mysql-data-seek

From: Date: Thu, 14 Nov 2002 11:21:16 +0000
Subject: note 26828 added to function.mysql-data-seek
Groups: php.notes 
Request: Send a blank email to php-notes+get-39475@lists.php.net to get a copy of this message
What do u think of this to use the resultset again and again using odbc_fetch_row(); If u have a better idea you let me know $test = odbc_num_rows($cur); for($i=0; $i<$test;$i++){ $x = $i+1; if(odbc_fetch_row($cur,$row_number=$x) == 1){ $pass=odbc_result($cur,1); echo $pass; } } -- http://www.php.net/manual/en/function.mysql-data-seek.php http://master.php.net/manage/user-notes.php?action=edit+26828 http://master.php.net/manage/user-notes.php?action=delete+26828 http://master.php.net/manage/user-notes.php?action=reject+26828

« previous php.notes (#39475) next »