note 41690 deleted from ref.strings by aidan
| From: | aidan@php.net | Date: | Tue, 28 Sep 2004 12:11:33 +0000 |
| Subject: | note 41690 deleted from ref.strings by aidan | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-77491@lists.php.net to get a copy of this message | ||
Note Submitter: braydo at hotmail dot com
----
This is the simplest way to alternate row colors in a dynamically generated HTML table.
<?php
$rowAB = '#FFFFFF';
$rowAB = ( $rowAB == '#3300FF' ) ? '#FFFFFF' : '#3300FF';
?>