RE: [PHP] Brain Fart- table formatting help

2002-07-29 Thread Brian V Bonini
> Ah, well... that was not clearly explained in your first post. You wanted > alternating rows colors, and that is what I gave you. Let's see if I > understand the question; > > For each show_title there are multiple rows of data, but they do not match > row counts from show to show? > You want th

RE: [PHP] Brain Fart- table formatting help

2002-07-29 Thread Jay Blanchard
[snip] Isn't that the same thing essentially? See, from the time ($row->show_title) is true until it is true again is not a fixed number so the only constant is that if ($row->show_title) is true then the background color will be on. Then I need to alternate the background color between on and of

Re: [PHP] Brain Fart- table formatting help

2002-07-29 Thread 1LT John W. Holmes
t; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, July 29, 2002 10:26 AM Subject: RE: [PHP] Brain Fart- table formatting help > Isn't that the same thing essentially? See, from the time ($row->show_title) > is true until it is true again is not a fixed number so th

RE: [PHP] Brain Fart- table formatting help

2002-07-29 Thread Brian V Bonini
($i%2) { etc. } ??? -B > -Original Message- > From: Jay Blanchard [mailto:[EMAIL PROTECTED]] > Sent: Monday, July 29, 2002 9:19 AM > To: 'Brian V Bonini'; [EMAIL PROTECTED] > Subject: RE: [PHP] Brain Fart- table formatting help > > > [snip] > I'm

RE: [PHP] Brain Fart- table formatting help

2002-07-29 Thread Jay Blanchard
[snip] I'm trying to format the output of a db query with alternating row colors, the thing is the usual if ($i%2) {} will not work here because the alternating colors do not necessarily fall on odd or even rows. [/snip] HTH! Jay Minds are like parachutesÂ…they only function when OPEN ***