I'm having a problem listing an array inside a table, I'm using a function to capture information from a .torrent file and display it in a table, however when the files are inside a folder, the list keeps repeating the folder name.
Howcouldyougetaroundthisproblem.
<table><thead><tr><thscope='col'>ARQUIVOS</th><thscope='col'>TAMANHO</th></tr></thead><tbody><?phpforeach($torrent->result['info']['files']as$file){echo"
<tr>
<td class='announce-list-file'>" . implode('<tr><td>',$file['path']) . "</td>
<td class='announce-list-file'>" . formatSizeUnits($file['length']) . "</td>
</tr>";
}
?>
</tbody>
</table>