simpli Posted April 2, 2009 Share Posted April 2, 2009 Hi, If I have my data coming from my server and I wanna send to XHR as JSON, how can I do so? Is there a native php function that allows us to do so? I haven't been able to see any online. Thanks, J-R Link to comment https://forums.phpfreaks.com/topic/152219-how-to-output-json-data/ Share on other sites More sharing options...
RichardRotterdam Posted April 2, 2009 Share Posted April 2, 2009 json_encode maybe? Link to comment https://forums.phpfreaks.com/topic/152219-how-to-output-json-data/#findComment-799411 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.