split on char php code example
Example 1: explode comma php
$myString = "9,[email protected],8";
$myArray = explode(',', $myString);
print_r($myArray);
Example 2: how to split sting in php
<?php
list($user, $pass, $uid, $gid, $extra) =
split(":", $passwd_line, 5);
?>