Re: [PHP] mysql output

2003-08-19 Thread John W. Holmes
Anthony Ritter wrote: I found the following and inserted it into my snippet for alternating backgoriund colors. However, I'm not sure I understand the logic. [snip] if ($alternate == "1") { $color = "#eaf3da"; $alternate = "2"; } else { $color = "#d5eae9"; $alternate = "1"; } It's just a long way

Re: [PHP] mysql output

2003-08-19 Thread Anthony Ritter
k .= " mailto:$post_owner>$post_owner[$post_create_time] $post_text "; } //close up the table $display_block .= ""; - Original Message - From: "John W. Holmes" <[EMAIL PROTECTED]> To: "Anthony Ritter"

Re: [PHP] mysql output

2003-08-19 Thread John W. Holmes
Anthony Ritter wrote: You also asked a very, very common question, i.e. how to alternate colors in table rows... there are a ton of websites/tutorials out there that explain ways to do this. ---John Holmes... Apologies for the lengthy code. I've tried us

Re: [PHP] mysql output

2003-08-19 Thread Anthony Ritter
> You also asked a very, very common question, i.e. how to alternate colors in > table rows... there are a ton of websites/tutorials out there that explain > ways to do this. > > ---John Holmes... Apologies for the lengthy code. I've tried using a few tuto

Re: [PHP] mysql output

2003-08-19 Thread CPT John W. Holmes
From: "Curt Zirzow" <[EMAIL PROTECTED]> > * Thus wrote Anthony Ritter ([EMAIL PROTECTED]): > > The following code snippet outputs a table from a mySQL database. > > > > [snipped 255+ lines of code] > > That is way to much information, please be a brief in your code > that you post. You'll find y

Re: [PHP] mysql output

2003-08-19 Thread Curt Zirzow
* Thus wrote Anthony Ritter ([EMAIL PROTECTED]): > The following code snippet outputs a table from a mySQL database. > > [snipped 255+ lines of code] That is way to much information, please be a brief in your code that you post. You'll find you'll get more people to analyze your code. Curt --