how to separate an array in php using split function code example Example: string to array in php print_r(explode(',',$yourstring));