Hi,
I am sure this question has been asked many times before but I have been unable to find a satisfactory answer ?
Anyway, here goes:
How would I go about splitting data from a data source (e.g. MySQL) into 2 or 3 columns?
More precisely, I wish to know how to put data into three columns per row with two spacer columns (actually, that’s 5 columns isn’t it… on well?).
[code=php]
<table>
<tr>
<td>$data</td>
<td><img src=”./spacer.gif” /></td>
<td>$data</td>
<td><img src=”./spacer.gif” /></td>
<td>$data</td>
</tr>
<tr>
<td>$data</td>
<td><img src=”./spacer.gif” /></td>
<td>$data</td>
<td><img src=”./spacer.gif” /></td>
<td>$data</td>
</tr>
</table>
I think it involves the modal (%) operator(?) but I don’t understand how it works… :os
Any help you can give will be greatly appreciated… Thanks.