Id like to do something with css so i can alternate the colors between two different things in something that looks like a table like on this site here.
@SamMar 24.2004 — #basically, you have a counter variable, and use the modulos operator, here's a php version: [code=php] <?php $var=""; //an array of some sort echo "<table>"; for($i=0;$i<count($var);$i++ { if($i%2==0) { echo "<tr class="even">"; } else { echo "<tr class="odd">"; } } ?> [/code]