Let's say I have 8 php objects and I need to iterated through them and output various information into html differently according to their placement. I have developed the structure for the css and html and you can see it here: http://jsfiddle.net/v3qcc/9/ I just need help with the logic of placing them their dynamically.
I need to take every two objects and place them in this wrapper:
<div class="col">
<div class="third">
<div class="col-content">
**...Object One Here**
</div>
</div>
<div class="fourth">
<div class="col-content">
**...Object Two Here**
</div>
</div>
</div>
<div class="col">
<div class="third">
<div class="col-content">
**...Object Three Here**
</div>
</div>
<div class="fourth">
<div class="col-content">
**...Object Four Here**
</div>
</div>
</div>