I got a new problem while working on my project.
I want to decode this (what I tried until now):
$items = array($_POST['eingabe']);
$strs = file_get_contents("https://open-market.io/api/search/?name=$items&appID=730&limit=5");
$json = json_decode($strs, true);
$picimage = $json['results'][0]['image'];
echo '<a class="test1">' . $picimage . '</a></div></br>';
I really don't know what I did wrong. Can someone please show me my mistake?
example for json:
https://open-market.io/api/search/?name=Chroma%20Case&appID=730&limit=5