Quantcast
Viewing latest article 3
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 latest article 3
Browse Latest Browse All 5

Trending Articles