Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- echo stripslashes(json_encode(array(' list'=>$posts)));
- {" list":[{"id":"1","type":"u0439u0446u0443u043au0435u043d","name":"","description":"","location":"","latitude":"","longitude":""},
- {"id":"3","type":"","name":"Cafe","description":"","location":"","latitude":"","longitude":""}]}
- echo json_encode($posts, 256);
- [{"id":"1","type":"йцукен","name":"","description":"","location":"","latitude":"","longitude":""},
- {"id":"3","type":"","name":"Cafe","description":"","location":"","latitude":"","longitude":""}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement