super quick php foreach job

Job ID: 37410593

Budget: €8 – €30 EUR

Need to be able to use few array from foreach

<?php
foreach ($json as $key => $item) {
if ($item->id == $id) {
$found = true;
?>
<tr>
<td><?= $id ?></td>
<td><?= $item->symbol ?></td>
<td><?= $item->name ?></td>
</tr>
<?php
}
}
?>

Check index fine and remove the tables and if statments, and I only need to echo the $id, $symbol and $name
Related categories: PHP HTML JSON