Answers for "php create array from string breaking on comma"

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 create array from string breaking on comma"

Browse Popular Code Answers by Language