php split with comma from rightside to string after every 3rd code example
Example: split array with comma php
"expiry": [
"94 Paracoins will expiry date 2020-10-28",
"20 Paracoins will expiry date 2020-12-15",
"2 Paracoins will expiry date 2020-12-20",
"2 Paracoins will expiry date 2021-01-22",
"8 Paracoins will expiry date 2021-01-28"
]
$expiry = implode(", ", $expiry);
=> $expiry = "94 Paracoins will expiry date 2020-10-28, 20 Paracoins will expiry date 2020-12-15, 2 Paracoins will expiry date 2020-12-20, 2 Paracoins will expiry date 2021-01-22, 8 Paracoins will expiry date 2021-01-28"