php - Loop output in two diffrent divs?

Posted by Stan on Stack Overflow See other posts from Stack Overflow or by Stan
Published on 2012-11-10T10:14:29Z Indexed on 2012/11/10 11:00 UTC
Read the original article Hit count: 153

Filed under:
|
|

I want to output my sql rows on each side of a line, without breaking the line. Forexample the html/css code i would like to end up with is something like this:

<div id='container'>

 <div style='float:left;'>
   Even loops here..
 </div>

 <div id='line' style='float:left;'>
 </div>

 <div style='float:right;'>
   Uneven loops here..
 </div>

 <div style='clear:both;'></div>
</div>

Is there a way to output the sql rows in two diffrent divs?

© Stack Overflow or respective owner

Related posts about php

Related posts about html