Building a JSON response in PHP -
how go building json response looks in php? details of
{ "success": 1, "result": [ { "id": "293", "title": "this warning class event", "url": "http://www.example.com/", "class": "event-warning", "start": "1362938400000", "end": "1363197686300" }, { "id": "294", "title": "this information class ", "url": "http://www.example.com/", "class": "event-info", "start": "1363111200000", "end": "1363284086400" }... }
php provides method
json_encode();
used convert jason format
Comments
Post a Comment