Created
February 19, 2016 04:55
-
-
Save zspine/51b1fd8e834b85abb47d to your computer and use it in GitHub Desktop.
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
<div class="row"> | |
<? | |
$i = 0; | |
foreach ($cars as $car) { | |
?> | |
Your code here | |
<? | |
$i++; | |
if ($i % 3 == 0) { | |
echo '</div><div class="row">'; | |
} | |
} | |
?> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment