return json() data and fetch it in php

You can simply use the json_encode() function to return JSON response from a PHP script. Also, if you're passing JSON data to a JavaScript program, make sure set the Content-Type header. Let's take a…

0 Comments