listing li

3 posts by 2 authors in: Forums > CMS Builder
Last Post: March 30, 2011   (RSS)

By Maurice - March 29, 2011

hi

i created en simple options listings and want each item from the listing to be displayed in an <li> whats the most simple way to go about




<div class="included">
<ul class="checkmarks">
<li><?php echo join(', ', getListLabels('prijs_tabel', 'product_inhoud', $record['product_inhoud'])); ?></li>
</ul>
</div>

but of course i only get 1 check mark and it wont repeate.
-------------------------------------------

Dropmonkey.nl

Re: [Maurice] listing li

By zip222 - March 29, 2011

This can be done with one simple change. see bolded text below:


<div class="included">
<ul class="checkmarks">
<li><?php echo join('</li><li>', getListLabels('prijs_tabel', 'product_inhoud', $record['product_inhoud'])); ?></li>
</ul>
</div>