Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- foreach($read as $key){
- $newData[] = $key["email"];
- }
- $to = implode(",",$newData);
- echo json_encode($to)
- "test1@gmail.com, test2@gmail.com"
- "test1@gmail.com", "test2@gmail.com"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement