Answers for "php request return force json"

7

php return json

header('Content-type: application/json');
echo json_encode($array);
Posted by: Guest on March-20-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language