Quantcast
Channel: Implode an array without first element - Stack Overflow
Viewing all articles
Browse latest Browse all 5

Answer by CasualBen for Implode an array without first element

$
0
0

Since not all viewers are reading the comments, here the best answer for me from @darren:

implode(', ', array_slice($array, 1))

Viewing all articles
Browse latest Browse all 5

Trending Articles



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