note 7739 added to mysql_result

From: Date: Sun, 13 Aug 2000 06:23:31 +0000
Subject: note 7739 added to mysql_result
Groups: php.notes 
Request: Send a blank email to php-notes+get-1787@lists.php.net to get a copy of this message
mysql_result() is have a one bug..... $loop = mysql_affected_rows(); for($i=0 ; $loop>= ; ++$i) { $row = mysql_result($result,$i); $row = mysql_fetch_object($row); // echo something.... // like that $row->name $row->date... } everyone think that $row is object. but, above code NOT RUN.... mysql_result() is not return a row. http://www.php.net/manual/function.mysql-result.php

« previous php.notes (#1787) next »