Buy Now
Sign in

Output checkboxes values

thebatik , December 08 at 13:53
Answered
T
thebatik
Hi,​
​I have a checkboxes group to multiple choices.​
​In email template I use - {data:cr_checkboxes14[]}
​​
​When I received email I see like this: ["Ads on vechile","Indoor Ads"]
​​
​How I can output values without any signs, like this: Ads on vechile, Indoor Ads ?​
​​
​Thanks​
​Yury
healyhatman
Two ways.
{data.join[, ]:cr_checkboxes14}
Or
<?php echo implode(", ", $this->data("cr_checkboxes14, "")); ?>
Don't copy+paste code from the forums.
Web developer at SkySpider.com.au
I don't work for ChronoEngine but I do accept donations paypal.me/healyhatman
T
thebatik
Thanks so much, first way is the solution!