Advertisement
Guest User

Untitled

a guest
Aug 7th, 2016
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.12 KB | None | 0 0
  1. <?php
  2. $email_array = array(
  3. 0 => array(
  4. 'id'=>"1",
  5. 'name' => "test1@gmail.com",
  6. 'from'=> "fromtest1@gmail.com",
  7. 'subject'=> "subject of test1 email",
  8. 'content'=> "......Content of email 1....."
  9. ),
  10. 1 => array(
  11. 'id'=>"2",
  12. 'name' => "test2@gmail.com",
  13. 'from'=> "fromtest2@gmail.com",
  14. 'subject'=> "subject of test2 email",
  15. 'content'=> "......Content of email 2....."
  16. ),
  17. 2 => array(
  18. 'id'=>"3",
  19. 'name' => "test3@gmail.com",
  20. 'from'=> "fromtest3@gmail.com",
  21. 'subject'=> "subject of test3 email",
  22. 'content'=> "......Content of email 3....."
  23. ),
  24. 3 => array(
  25. 'id'=>"4",
  26. 'name' => "test4@gmail.com",
  27. 'from'=> "fromtest4@gmail.com",
  28. 'subject'=> "subject of test4 email",
  29. 'content'=> "......Content of email 4....."
  30. ),
  31. 4 => array(
  32. 'id'=>"5",
  33. 'name' => "test5@gmail.com",
  34. 'from'=> "fromtest5@gmail.com",
  35. 'subject'=> "subject of test5 email",
  36. 'content'=> "......Content of email 5....."
  37. )
  38. );
  39. $t = json_encode($email_array);
  40. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement