I have the URL of an API that generates a JSON. I have this code below, however I need the separate fields so I can create while of the items and separate type echo $row['nome_marca']
and so on. Any light?
<?php
header("Content-Type: application/json");
$jsonData = file_get_contents("http://www.folhacar.com.br/frontendnovo.php/api/listMarcas");
echo $jsonData;
?>