Posted by Geoff Berrow on 12/27/06 00:02
Message-ID: <98A5A9F1Akarlcsueduco@216.196.97.136> from Jeremy contained
the following:
> I'm kind of new to php - I assume
>what I need to do is set some kind of counter starting at a value of 1 at
>which point I create the opening <tr> tag. Then I increment the counter by
>1 and every time it gets to 3 I make the closing </tr> tag and reset back
>to 1?
Yes, or you could use the modulus operator
http://uk2.php.net/operators.arithmetic
--
Geoff Berrow 0110001001101100010000000110
001101101011011001000110111101100111001011
100110001101101111001011100111010101101011
Navigation:
[Reply to this message]
|