explode comma php
snippet in php

explode comma php

user5688

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