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 Quote 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? Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.