cvs: php-hosts-web /msgboard index.php
| From: | jim winstead | Date: | Mon, 22 Apr 2002 01:37:38 +0000 |
| Subject: | cvs: php-hosts-web /msgboard index.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-9749@lists.php.net to get a copy of this message | ||
jimw Sun Apr 21 21:37:38 2002 EDT
Modified files:
/php-hosts-web/msgboard index.php
Log:
restore alternating colors for rows
Index: php-hosts-web/msgboard/index.php
diff -u php-hosts-web/msgboard/index.php:1.2 php-hosts-web/msgboard/index.php:1.3
--- php-hosts-web/msgboard/index.php:1.2 Sun Apr 21 21:09:27 2002
+++ php-hosts-web/msgboard/index.php Sun Apr 21 21:37:37 2002
@@ -40,6 +40,7 @@
echo "<TD><BR></TD>\n";
echo "</TR>\n";
+$i = 0;
while ($host = mysql_fetch_assoc($res)) {
$bg=$BGCOLOR[$i%2];
echo "<TR BGCOLOR='$bg' VALIGN=middle>\n";
@@ -61,6 +62,7 @@
echo "</TD>";
echo "</TR>\n";
+ $i++;
}
echo "</TABLE>\n";
commonFooter();