2

I have an array of delimited values that I want to show the user such as:

[delimCC] => Array
    (
        [0] => 3;
        [1] => 4;
        [2] => 5;
    )

WHat I need, is: 3;4;5 (a string). How can I take the output of this array and make it a string?

Thanks!

1 Answer 1

7

You can use the implode function:

implode(';', $delimCC);
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.