I have string separated values and I am trying to reformat them in a specific format.
$ids = $_REQUEST('ids'); // ids is comma separated string
// ids looks like [email protected],[email protected],[email protected]
For Google calendar api, I want it in this format:
array(
array('email' => '[email protected]'),
array('email' => '[email protected]'),
array('email' => '[email protected]'),
)