split in string php code example
Example 1: string to array in php
print_r(explode(',',$yourstring));
Example 2: how to split sting in php
<?php
list($user, $pass, $uid, $gid, $extra) =
split(":", $passwd_line, 5);
?>
print_r(explode(',',$yourstring));
<?php
list($user, $pass, $uid, $gid, $extra) =
split(":", $passwd_line, 5);
?>