phpmonkey
|
| Posted: 09/15/2002, 2:41 PM |
|
looking for a way to break up a grid into 2 columns. anyone done that before?
for example, i have 4 items being returned from the db for the grid.
i want/need 2 in one column and 2 and in another.
<table>
<tr>
<td>
item1
<P>
item2
</td>
<td>
item3
<P>
item3
</td>
</tr>
</table>
the problem i don't see a way to set up the template (i am using php and templates) to do something like this. the template really looks like this ..
<table>
<!-- BEGIN Grid item -->
<!-- BEGIN Row -->
<tr>
<td>
{item}
</td>
</tr>
<!-- END Row -->
<!-- END Grid item -->
</table>
any thoughts would be appreciated.
|
|
|
 |
Ken
|
| Posted: 09/15/2002, 5:38 PM |
|
I think this article may be what you're looking for?
http://gotocode.com/art.asp?art_id=115&
|
|
|
 |
Dave
|
| Posted: 09/16/2002, 1:06 AM |
|
I have implemented this with help from the codecharge support team , check www.childstyle.co.uk, this shows it working. I can help if you need you want to put this into your site.
thanks
dave
|
|
|
 |
phpwebmonkey
|
| Posted: 09/16/2002, 6:30 PM |
|
ken - that is exactly what i am looking for. except that one is coded for suite and i am on studio. but it does give me a good starting point.
thanks.
|
|
|
 |
|