|
Posted by Andrew @ Rockface on 07/01/05 09:47
In news:An3xe.3392$iv3.2852@fe02.lga,
juunksppamcrrap@NOhotSPAMmail.com <juunksppamcrrap@NOhotSPAMmail.com> wrote:
> I've written the code below to perform the following:
>
> Create a table that has three cells for each row. Each cell has a
> graphic and a radio button. The first row works fine. It gets to the
> third cell and starts creating the next row. The second row, however,
> just keeps creating cell after cell after cell, never getting around
> to creating the third row.
>
> I have scoured this code for the reason, but I am obviously too close
> to the problem. Please help!
I had trouble reading all that badly formatted code but it looks like you've
got a bit of an infinite loop going on:
> } while ($graph_num > "0");
I think you're reducing your counter by 1 ($graph_num--;) but it never goes
down to zero.
Also, you've got a ';' instead of a '{'at the start of your while loop.
--
Andrew @ Rockface
np: Blind Willie Johnson - Rain Don't Fall On Me
www.rockface-records.co.uk
[Back to original message]
|