Re: no temp var for mysql_fetch_array results
| From: | jeffrey_n_Dyke at Keane dot com | Date: | Wed, 12 May 2004 21:39:46 +0000 |
| Subject: | Re: no temp var for mysql_fetch_array results | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-34411@lists.php.net to get a copy of this message | ||
> Warning: mysql_result(): Unable to jump to row 0 on MySQL result index
4...
> Now this makes some sense; the manual says that
> mysql_result ( resource result , int row )
> will jump to row $row in the output but says nothing about returning me a
> given fields.
> Any other thoughts?
Hey David...
Does this mean you are potentially brining back more then one row, and
mysql_result doesn't know where to get it from? Does this change if you
add, LIMIT 1 to the query.
Most of the time when i have problems with mysql_result, it has to do with
more data coming back then i expected, or is a bad query, but you seem to
have the same one...
HTH
Jeff
>TIA again & HAND
>:-D
--
David T-G
davidtg@justpickone.org
http://justpickone.org/davidtg/ Shpx gur
Pbzzhavpngvbaf Qrprapl Npg!
(See attached file: atteqfnd.dat)