Re: Show data in two columns
| From: | Chris Ramsay | Date: | Tue, 26 Apr 2005 10:25:59 +0000 |
| Subject: | Re: Show data in two columns | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-213895@lists.php.net to get a copy of this message | ||
Looks like they've done something like the following:
while (row = data output from db) {
print the following:
<table><tr>
<td width=50%>
<table><tr><td>row1</td></tr></table>
<table><tr><td>row2</td></tr></table>
<table><tr><td>row3</td></tr></table>
</td>
<td width=50%>
<table><tr><td>row4</td></tr></table>
<table><tr><td>row5</td></tr></table>
<table><tr><td>row6</td></tr></table>
</td>
</tr>
</table>
}
Check out their source html as a start...
Chris