note 46045 added to ref.strings
| From: | doccatwebersheimdotde at osu1 dot php dot net | Date: | Tue, 28 Sep 2004 07:50:30 +0000 |
| Subject: | note 46045 added to ref.strings | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-77463@lists.php.net to get a copy of this message | ||
do the alternation the css-way:
.even {
background-color: #cccccc;
}
.odd {
background-color: #ffffff;
}
while(1){
$output .= '<tr class="';
($even =! $even) ? $output .= 'odd' : $output .= 'even';
$output .= '">...';
} // while
echo $output;
----
Manual Page -- http://www.php.net/manual/en/ref.strings.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+46045
Delete -- http://master.php.net/manage/user-notes.php?action=delete+46045&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+46045&report=yes
Search -- http://master.php.net/manage/user-notes.php