Advertisement
Guest User

Untitled

a guest
Dec 19th, 2014
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. <?php
  2. $array = array(
  3. 'information' =>
  4.  
  5. array(
  6.  
  7. 'gender' => male,
  8. 'location' => '127.0.0.1 Home'
  9. ),
  10.  
  11. 'age' => 19,
  12.  
  13. 'aboutme' => array(
  14. array(
  15. 'bday' => '5/21/1994',
  16. 'status' => 'single',
  17. 'parents' => 'alive'
  18. )
  19. ),
  20.  
  21. 'workat' => array(
  22. 'astore',
  23. 'bstore',
  24. 'cstore',
  25. 'dstore',
  26. 'estore'
  27. ),
  28.  
  29. 'nameofparents' => array(
  30. array(
  31. 'mName' => "Am",
  32. 'workat' => array(
  33. 'astore',
  34. 'bstore',
  35. 'cstore',
  36. 'dstore',
  37. 'estore'
  38. ),
  39. 'fname' => "Bf",
  40. 'vertices2' => array(
  41. 'astore',
  42. 'bstore',
  43. 'cstore',
  44. 'dstore',
  45. 'estore'
  46. )
  47. )
  48. ),
  49.  
  50. 'deadparents' => array(),
  51.  
  52. 'medicals' => array(),
  53.  
  54. 'dentals' => array(),
  55.  
  56. 'siblings' => array(
  57. array(
  58. 'brother',
  59. 'sister'
  60. )
  61. ),
  62.  
  63. 'siblingspouses' => array(
  64. 'bwife',
  65. 'shusband'
  66. ));
  67.  
  68. echo json_encode($array);
  69. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement