Re: Php warning message

From: Date: Wed, 20 Feb 2008 23:04:24 +0000
Subject: Re: Php warning message
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-269754@lists.php.net to get a copy of this message
At 11:29 PM +0200 2/20/08, Yuval Schwartz wrote:
Hello and thank you, Here is my code if you're interested (it's so that I color every 2nd line in the text):
Try something like this instead. In your html: <tr class="row<?php echo($j++ & 1 );?>"> In your css: .row0 { background-color: #B3C6FF; /* blue */ } .row1 { background-color: #FFDD75; /* yellow */ } You're welcome and goodbye. tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.com

« previous php.general (#269754) next »