karimali831 Posted September 12, 2010 Share Posted September 12, 2010 Hi, When I use the below table in a while loop, it will repeat down the page. I want it to repeat in rows of 3, how can I do this? while () { echo ' <table width="50%" cellpadding="2" cellspacing="1" bgcolor="'.$border.'"> <tr > <td colspan="5" height="20" align="center" class="title" bgcolor="'.$bghead.'"><b>'.$pt['platform'].'</b></td> </tr> </table>'; } Thanks! Link to comment https://forums.phpfreaks.com/topic/213224-table-in-while-loop/ Share on other sites More sharing options...
wildteen88 Posted September 12, 2010 Share Posted September 12, 2010 Have a look at multi-column results Link to comment https://forums.phpfreaks.com/topic/213224-table-in-while-loop/#findComment-1110287 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.