1$myString = "9,admin@example.com,8";
2$myArray = explode(',', $myString);
3print_r($myArray);
1<?php
2// It doesnt get any better than this Example
3$pizza = "piece1 piece2 piece3 piece4 piece5 piece6";
4$pieces = explode(" ", $pizza);
5echo $pieces[0]; // piece1
6echo $pieces[1]; // piece2