Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: alternating row colors

by traveler (Parson)
on May 18, 2001 at 01:51 UTC ( [id://81381]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $i = 0;
    while( @data = $query->fetchrow ) {
    ...
            <td width=50 align=left>$data[4]</td>
            </tr>   )  
    }
    
  2. or download this
    while( @data = $query->fetchrow ) {
    $rowcolor = $rowcolor == $color2 ? $color1:$color2;
    print REPORT_FILE qq(
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://81381]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (None)
    As of 2024-04-25 01:53 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found