Zkoušel jsem i použít funkci explode:
<?php
// načtení dat do pole
$pole = file('data.csv');
for($i=0;$i<Count($pole);$i++) {
$pole[$i] = explode(';', $radky[$i]);
}
// vykreslení tabulky
echo('<table>');
for($i=0;$i<Count($pole);$i++) {
echo('<tr>');
for($j=0;$j<Count($pole[$i]);$j++) {
echo('<td>' . $pole[$i][$j] . '</td>');
}
echo('</tr>');
}
echo('</table>');
?>
Taky nic nezobrazí.