I have a detail page casestudies.php?1 that shows a client. In the client editor / table is a multi list of checkboxes for services performed for that client coming from a services editor / table.
list($clientRecords, $clientMetaData) = getRecords(array(
'tableName' => 'client',
'where' => whereRecordNumberInUrl(0),
'loadUploads' => true,
'allowSearch' => false,
'limit' => '1',
));
list($servicesRecords, $servicesMetaData) = getRecords(array(
'tableName' => 'services',
'loadUploads' => true,
'allowSearch' => false,
));
so on casestudies.php?1 I can show all of the checked services (from the code generator):
Services (labels): <?php echo join(', ', $clientRecord['services:labels']); ?><br>
That lists them all in one place separated by commas. How do I loop through this so I can show them in a <UL> for more control of the display?