php push json array code example

Example: php json array push in js file

{"Markers": [
{
  "title" : "Meow Monestary",
  "position" : {
    "lat" : 40.5178,
    "lng" : -122.6438
  },
  "posterContact" : {
    "name" : "Mr Meowser",
    "email" : "[email protected]",
    "phone" : "(555)-202-3040",
    "private" : true
  },
  "type" : "myResidence",
  "ownerContact" : {
    "name" : false,
    "email" : false,
    "phone" : false,
    "private" : true
  },
  "description" : "Meow meow purrrrr.  Dogs are not my favorite but they are my second favorite.",
  "private" : true
},

Tags:

Php Example