Answers for "php from string with comma to array"

PHP
0

create array from string with commas php

$myString = "9,[email protected],8";
$myArray = explode(',', $myString);
print_r($myArray);
Posted by: Guest on November-25-2020

Code answers related to "php from string with comma to array"

Browse Popular Code Answers by Language