php split string array code example
Example 1: php explode
$colors = "red,blue,green,orange";
$colorsArray = explode(",", $colors);
Example 2: php split string
explode(" ","Geeks for Geeks")
$colors = "red,blue,green,orange";
$colorsArray = explode(",", $colors);
explode(" ","Geeks for Geeks")