Happy New Year 2004 from ARTLUNG.COM

Alternating Color PHP Thinger

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

Thanks Sass!

posted this 19 years ago.
What else did he post in January 2004?

(Tuesday January 27th 2004 at 6:41am)

Leave me a comment!

This site uses Akismet to reduce spam. Learn how your comment data is processed.