explode array keept 0 index on one variable and remaining on other php code example
Example: php explode
$colors = "red,blue,green,orange";
$colorsArray = explode(",", $colors);
$colors = "red,blue,green,orange";
$colorsArray = explode(",", $colors);