Answers for "php acces to json object"

PHP
5

php return json

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

how to get data from json array in php

$data = json_decode($json);
Posted by: Guest on August-15-2020

Browse Popular Code Answers by Language