国产av日韩一区二区三区精品,成人性爱视频在线观看,国产,欧美,日韩,一区,www.成色av久久成人,2222eeee成人天堂

Read curl php results
P粉718165540
P粉718165540 2024-04-03 14:14:03
0
1
586

I'm doing a curl and getting the JSON result:

$data = json_decode($result, true);
var_dump($data);
$data = $data["data"];
echo $data;

But the echo of $data is "{". If I do a var_dump before assigning the variable again, I see:

string(727796) "{"data":["base64_image1", "base64_image2",... ]}"

Why can't I access the data list? I just want to do a foreach on this list, but I can't.

P粉718165540
P粉718165540

reply all(1)
P粉186904731

The output is json, so try json_decode() again

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template