I'm using a 3rd party javascript for a flash slideshow and it contains a very simple imagearray which I've successfully integrated with CMSB.. this is the code:
<?php foreach ($home_page_image_rotaterRecord['photo'] as $upload): ?>
["<?php echo $upload['urlPath'] ?>", "", "", "<?php echo $upload['info1'] ?>"],
<?php endforeach ?>
Only problem is, the 'comma' has to come off the last image in the code, so I need the code to tell it to remove the comma if it's the last image. Can you help?
John Tedesco
Creative Director
JAM Graphics