how to convert a string to an array in php code example Example: string to array in php print_r(explode(',',$yourstring));