Re: [affinitymc] Collapsible FAQs
Hi Brian,
You could use a counter to assign a unique ID.
Outside the foreach loop set the variable:
<?php $counter = 1; ?>
Then print it out in the loop:
<?php echo $counter; ?>
And last, before the foreach loop closes, increment the number:
<?php $counter++; ?>
Try that out and see how that works for you.
Cheers,
Damon Edis - interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/