Código PHP:
<?php
$link=mysql_connect("localhost","root","");
mysql_select_db("precio",$link);
ini_set ('auto_detect_line_endings','1');
$consulta = "Insert into tarifa values($data[0], $data[0],$data[1],$data[2],$data[3],$data[4],$data[5],$data[6],$data[7],$data[8],$data[9])";
$row = 1;
$fp = fopen ("datos.csv","r");
echo "<table border=1>";
while ($data = fgetcsv ($fp, 1000, ';')) {
$num = count ($data);
$row++;
echo "<tr>";
for ($c=0; $c<$num; $c++) {
echo "<td>".$data[$c] . "</td>";
}
$insert = mysql_query($consulta, $link);
echo "</tr>";
}
echo "</table>";
fclose($fp);
?>