Re: Re[2]: [PHP] How to format every secound row in a database result

2005-04-05 Thread Richard Lynch
On Wed, March 30, 2005 11:08 am, Richard Davey said: Hello Leif, Wednesday, March 30, 2005, 6:54:15 PM, you wrote: LG http://www.devtek.org/tutorials/alternate_row_colors.php There is no need to involve a math heavy modulus function just to alternate row colours! The following single line

Re[2]: [PHP] How to format every secound row in a database result

2005-03-30 Thread Richard Davey
Hello Leif, Wednesday, March 30, 2005, 6:54:15 PM, you wrote: LG http://www.devtek.org/tutorials/alternate_row_colors.php There is no need to involve a math heavy modulus function just to alternate row colours! The following single line will do it just as well, swap the colours for whatever you