Answers for "How to extract data from a json array with php?"

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

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

$colors = array("red","blue","green");
echo json_encode($colors);
Posted by: Guest on August-15-2020

Code answers related to "How to extract data from a json array with php?"

Browse Popular Code Answers by Language