Pill box list

3 posts by 2 authors in: Forums > CMS Builder
Last Post: June 21, 2018   (RSS)

By KennyH - June 20, 2018

I have been trying hard to figure out how to get the closing </li> inserted when using pill boxes

I have

<li><?php echo join('<li> ', $record['features:labels']); ?></li>

but that just gives me




I have tried many different variation but always get an error. Any words of wisdom?


By leo - June 21, 2018

Hi Kenney,

Can you try changing join('<li> ', $record['features:labels']); to join('</li><li>', $record['features:labels']); And let me know if that is what you want?


Leo - PHP Programmer (in training)

By KennyH - June 21, 2018

That worked great. I'm not sure why something so obvious didn't appear to me