I need to create columns in my html with some comments that are being pulled from my database and posted via ajax. This is what I need it to look like after the PHP does its thing.
<div class="container">
<div class="comment"></div>
<div class="comment"></div>
</div class="comment"></div>
</div>
right now it doesn't create the container causing me to have layout issues.
How would you have PHP wrap a container around every third div?
I'm very much a front end developer and can't seem to wrap my head around this one.
Thanks for the help!