I am facing some problem to fix this issue. My array same as below
Array ( [0] => Array ( [coupon] => dasd ) [1] => Array ( [coupon] => aaa ) )
From here I want to display only coupon value as comma separated. Same as below
dasd,aaa
To solve this I tried below code but that's not solving my issue.
<?php
$option_settings = array(
array( 'coupon'=>'dasd'
),
array( 'coupon'=>'aaa')
);
print_r($option_settings );
echo $output = implode(',', $option_settings);
?>
Sample https://eval.in/784206