I have a very short question: How can i fetch mysql content using php and preview it like this:
<div>
<p>first line content</p>
<p>second line content</p>
<p>third line content</p>
</div>
<div>
<p>fourth line content</p>
<p>fifth line content</p>
<p>sixth line content</p>
</div>
//...and so on...
<div>
Loop through the results, and when the 3rd row has been entered, end a div, and start a new one.