Happy New Year 2004 from ARTLUNG.COM

Alternating Color PHP Thinger2004Jan27

Sassy sent me some help for: : “$color = ( $counter % 2 == 0 ) ? $colorOne : $colorTwo; ” — it uses the modulo operator, described .

Thanks Sass!

wrote this Tuesday January 27th 2004 at 6:41am That was 18 years ago. Leave a comment

Leave a Reply