Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php header content type json

header('Content-Type: application/json; charset=utf-8');
echo json_encode($data);
die();
 
PREVIOUS NEXT
Tagged: #php #header #content #type #json
ADD COMMENT
Topic
Name
4+3 =