Go to content Go to navigation & search

welcome to weekeat.com

Navigation

navigation

feeds

choose: rss / atom


Content

Generating alternating values in PHP

posted 5 August 2006

For PHP programmers, I’m sure you’ve done this many times – to create alternating table rows with different colors or divs, or… err… I’m sure you know what else.

Anyway, I was working on a simple project and needed to generate alternating colored rows. So, I started thinking about the fastest way of generating alternating values to achieve this.

read more...