ID: 345
Category: PHP7
Added: 18th of April 2023
Views: 1,317
To split a comma delimited string using PHP we can use the explode() function The explode() function breaks the string in to an array, which is then assigned to a variable. We then use a foreach loop to output the results / elements.