Re: [Jason] Multi-Select Roundabout!
Hi, Jason -
Thanks for the offer of support. I'm not looking for anything grand, just a simple guide to constructing the code.
When I use $showme I have the following bits of code to work with from the multi-select list:
[offsite_items] => url1 url2 url3
[offsite_items:labels] => Array
(
[0] => Website one
[1] => Website two
[2] => Website three
)
[offsite_items:values] => Array
(
[0] => url1
[1] => url2
[2] => url3
)
I would like the to use the code to construct a simple list of links along the lines of:
<ul>
<?php foreach $record['offsite_item'] as xyz ?>
<li><a href="xyz['values']">xyz['labels']</a></li>
<?php endforeach ?>
</ul>
It's a rough example but you can see the idea.
:0)
Perch