note 86135 added to function.mysql-field-seek

From: Date: Sat, 04 Oct 2008 20:12:45 +0000
Subject: note 86135 added to function.mysql-field-seek
Groups: php.notes 
Request: Send a blank email to php-notes+get-145059@lists.php.net to get a copy of this message
Not dumb at all!! It means that "mysql_field_seek" and "mysql_data_seek" are moving the same cursor... through the rows and columns of the result resource. Also means that the cursor goes to a new row when it reach a final field(aka column), by exemple while looping with "mysql_fetch_field". Calling "mysql_fetch_object", "mysql_fetch_array", "mysql_fetch_assoc" and "mysql_fetch_row" seems to place the cursor at the end of the line. So calling "mysql_fetch_field" without a field index, just after that, will return false. ---- Server IP: 195.221.21.36 Probable Submitter: 90.53.15.115 ---- Manual Page -- http://www.php.net/manual/en/function.mysql-field-seek.php Edit -- https://master.php.net/note/edit/86135 Del: integrated -- https://master.php.net/note/delete/86135/integrated Del: useless -- https://master.php.net/note/delete/86135/useless Del: bad code -- https://master.php.net/note/delete/86135/bad+code Del: spam -- https://master.php.net/note/delete/86135/spam Del: non-english -- https://master.php.net/note/delete/86135/non-english Del: in docs -- https://master.php.net/note/delete/86135/in+docs Del: other reasons-- https://master.php.net/note/delete/86135 Reject -- https://master.php.net/note/reject/86135 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#145059) next »