Answers for "how to send response in json format from php file"

PHP
5

php return json

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

Code answers related to "how to send response in json format from php file"

Browse Popular Code Answers by Language