i have an array and i want to convert this array in comma seprated string by implode function but this is not working. my code is below.
<?php
$relatedSlides = $result['RelatedSlideshows'];
$relatedSlides = implode(",",$relatedSlides);
echo $relatedSlides;
?>
$result['RelatedSlideshows']; is an array and it is printing perfectly. this is not an multidimensional array. this is simple array. how i do this???