Re: missing array element



Ewoud Dronkert wrote:
> On 29 May 2005 11:19:50 -0700, david.g.robinson@xxxxxxxxxxxxxxxx wrote:
> > $row_rsAllRooms = mysql_fetch_assoc($rsAllRooms);
> > while ($row_rsAllRooms = mysql_fetch_assoc($rsAllRooms))
> >
> > Does anyone have any ideas what is going on here?
>
> Yes: you throw away the first row in this first statement.
>

Thanks for the quick reply Ewoud. I've taken the
$row_rsAllRooms = mysql_fetch_assoc($rsAllRooms)
line out and it works now. I don't really understand why taking that
line out solves the problem, but the main thing is that it works.

Thanks for your time.

David Robinson

.



Relevant Pages

  • Re: help with network script...
    ... instruct to ignore the first row, that has the column names, I want to ... only get the raw data? ... since I have the headers already... ... Prev by Date: ...
    (microsoft.public.excel)
  • Re: Run a macro based on the value of a cell
    ... > On these sheets the first row is called "status" which is either ... > "prev" to indicate employee status. ... I copied and modified the macro ...
    (microsoft.public.excel.misc)
  • Re: Tricky Delete Problem
    ... Do you want to delete just column 5 (based on the first row) or do you want ... In a table (or query), you can only "delete" entire columns. ... > I probably want to sum the columns and find the ones that equal 0. ... Prev by Date: ...
    (microsoft.public.access.queries)
  • Re: Creating tabledef to linked textfile from code
    ... The files have 5-15 columns (unknown beforehand) and are fixed width and ... have column names in the first row. ... Jesper Fjølner, Denmark ... Prev by Date: ...
    (microsoft.public.access.formscoding)
  • Display Only First Record of Repeating Records?
    ... I'd like to create a query that only displays the first row of the repeated ... never have the same service twice). ... Prev by Date: ...
    (microsoft.public.access.queries)