Posted by frothpoker on 07/12/06 12:50
I prefer $linestyle = 1 While (criteria) { ....... $lineclass = "lineclass" . $linestyle; <TR class = $lineclass><TD></TD></TR>; $linestyle = 1 - $linestyle; } and set up two classes called lineclass0 and lineclass1 personally I think it is easier to read and control.
[Back to original message]
Copyright © 2005-2006 Powered by Custom PHP Programming