Re: missing array element
- From: Ewoud Dronkert <firstname@xxxxxxxxxxxxxxxxxxxx>
- Date: Sun, 29 May 2005 22:47:13 +0200
On 29 May 2005 13:41:38 -0700, david.g.robinson@xxxxxxxxxxxxxxxx wrote:
> I don't really understand why taking that line out solves the problem
It's because there are three rows in the result set, and you retrieved
the first one with that line. The "result set pointer" moves one row
ahead with that action, and consequently in the while loop you only have
two rows left. Count how many times you called mysql_fetch_assoc(): once
in the line now removed and twice in the while loop.
--
Firefox Web Browser - Rediscover the web - http://getffox.com/
Thunderbird E-mail and Newsgroups - http://gettbird.com/
.
- Follow-Ups:
- Re: missing array element
- From: david . g . robinson
- Re: missing array element
- References:
- missing array element
- From: david . g . robinson
- Re: missing array element
- From: Ewoud Dronkert
- Re: missing array element
- From: david . g . robinson
- missing array element
- Prev by Date: Re: missing array element
- Next by Date: Re: missing array element
- Previous by thread: Re: missing array element
- Next by thread: Re: missing array element
- Index(es):
Relevant Pages
|