I need to split my string input into an array at the commas.
How can I go about accomplishing this?
9,admin@example.com,8
$myString = "9,admin@example.com,8"; $myArray = explode(',', $myString); foreach($myArray as $my_Array){ echo $my_Array.''; }
Output
9 admin@example.com 8