note 41690 added to ref.strings
| From: | braydo at hotmail dot com | Date: | Tue, 20 Apr 2004 01:15:08 +0000 |
| Subject: | note 41690 added to ref.strings | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-68350@lists.php.net to get a copy of this message | ||
This is the simplest way to alternate row colors in a dynamically generated HTML table.
<?php
$rowAB = '#FFFFFF';
$rowAB = ( $rowAB == '#3300FF' ) ? '#FFFFFF' : '#3300FF';
?>
----
Manual Page -- http://www.php.net/manual/en/ref.strings.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+41690
Delete -- http://master.php.net/manage/user-notes.php?action=delete+41690&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+41690&report=yes
Search -- http://master.php.net/manage/user-notes.php