note 8007 deleted from mysql_result by danbeck
| From: | danbeck@php.net | Date: | Thu, 07 Sep 2000 18:22:42 +0000 |
| Subject: | note 8007 deleted from mysql_result by danbeck | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-4433@lists.php.net to get a copy of this message | ||
Calling mysql_result() with a result identifier from a db query will render that result identifier
useless for any subsequent db function calls other than mysql_result()..
Eg.
$result = mysql_db_query();
mysql_result($result, )
now, if you try to call mysql_fetch_row or mysql_fetch_object, it will return an array or object
with the correct number of fields but null/empty values for each..
Eg.
$row = mysql_fetch_row($result);
$row[n] will equal ''