Quantcast
Viewing all articles
Browse latest Browse all 5

Answer by web-nomad for Implode an array without first element

Use array_shift followed by implode.

$array = YOUR_ORIGINAL_ARRAY;$cname = array_shift($array);$string = implode(',', $array);

Viewing all articles
Browse latest Browse all 5

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>