Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $email_array = array(
- 0 => array(
- 'id'=>"1",
- 'name' => "test1@gmail.com",
- 'from'=> "fromtest1@gmail.com",
- 'subject'=> "subject of test1 email",
- 'content'=> "......Content of email 1....."
- ),
- 1 => array(
- 'id'=>"2",
- 'name' => "test2@gmail.com",
- 'from'=> "fromtest2@gmail.com",
- 'subject'=> "subject of test2 email",
- 'content'=> "......Content of email 2....."
- ),
- 2 => array(
- 'id'=>"3",
- 'name' => "test3@gmail.com",
- 'from'=> "fromtest3@gmail.com",
- 'subject'=> "subject of test3 email",
- 'content'=> "......Content of email 3....."
- ),
- 3 => array(
- 'id'=>"4",
- 'name' => "test4@gmail.com",
- 'from'=> "fromtest4@gmail.com",
- 'subject'=> "subject of test4 email",
- 'content'=> "......Content of email 4....."
- ),
- 4 => array(
- 'id'=>"5",
- 'name' => "test5@gmail.com",
- 'from'=> "fromtest5@gmail.com",
- 'subject'=> "subject of test5 email",
- 'content'=> "......Content of email 5....."
- )
- );
- $t = json_encode($email_array);
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement