Answer the question
In order to leave comments, you need to log in
How to get the parameter I need from json?
I have two parameters in the array that I need (price and data), I can’t get it
$json = $row['FNS_data'];
echo $json['items']['price'];
Answer the question
In order to leave comments, you need to log in
thank you galaxy
$a = json_decode($s, true);
echo $a['items'][0]['price'];
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question