I have a php script that creates a new row in an html table for each row from a database. How can I make it so that every first table row is color A and every second table row is color B?
It's just a matter of me not getting the logic of switching between the two - alternating each time the loop, - loops.
any ideas?