Closed scryba closed 6 years ago
$ISOAlpha2Code = "US";
$jsonq = new jsonq();
$jsonq->json($json_response);
$res = $jsonq->from('data.countries')
->where('iso_3166_2', '=', $ISOAlpha2Code)
->first();
var_dump($res);
Just add data.countries in from() it will work
The following is my implementation of the code;
But i get the following error:-
What is the problem?