Created
August 29, 2012 06:31
-
-
Save stajnert/3507485 to your computer and use it in GitHub Desktop.
Even odd tr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php foreach ($jobs as $i => $job): ?> | |
<tr class="<?php echo fmod($i, 2) ? 'even' : 'odd' ?>"> | |
<?php endforeach; ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment