create array from string with commas php
snippet in php

create array from string with commas php

user1420

$myString = "9,admin@example.com,8";
$myArray = explode(',', $myString);
print_r($myArray);