Answers for "php:retrieve json data array tutorial"

PHP
2

php return json data

header('Content-Type: application/json'); 

$colors = array("red","blue","green");
echo json_encode($colors);
Posted by: Guest on October-30-2019
2

how to get data from json array in php

$data = json_decode($jso
Posted by: Guest on August-15-2020

Browse Popular Code Answers by Language