When you write any application, simple or complex, that pulls information from a database, there comes a time when you need to format those results. One of these ways to output info is to make the rows an alternating color, and this article can help.
In this new article, Alternating Row Colors With MySQL Results (yay for obvious titles!), they show you how to take your results, no matter how many results there are, and alternate two row colors when you echo them out. Obviously, this doesn't just have to be used for row colors - you could expand on it and use it for CSS types, or even different links based on the row.
Though this is a useful tip, I think it more belongs in the "tips and tricks" section as a two or three-liner, but not as a full article. Modular division is cool, but it ain't that cool...




