Created
March 8, 2011 16:54
-
-
Save jerodsanto/860540 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 ($images as $index => $image) { | |
if ($index % 3 == 0) { | |
echo "<div class='yox_row'>"; | |
} | |
echo "<div class='yox_cell'>"; | |
echo get_resource_link($image); | |
echo "</div>"; | |
if (($index + 1) % 3 == 0) { | |
echo "</div>"; | |
} | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment