First you must save the file as example.csv “Excel has this feature”.
Load data from a CSV, tab delmited or delmited by any other character
can be on the filesystem local to the client:
LOAD DATA LOCAL INFILE "table1.txt" INTO TABLE table1;
LOAD DATA INFILE "/tmp/file_name" into table test IGNORE 1 LINES;
SELECT * INTO OUTFILE 'data.txt' FIELDS TERMINATED BY ',' FROM ...;
LOAD DATA INFILE 'data.txt' INTO TABLE table2 FIELDS TERMINATED BY ',';
If you use PHP: fgetcsv() Gets line from file pointer and parse for CSV fields:
Example: Read and print entire contents of a CSV file
$row = 1;
$fp = fopen ("test.csv","r"

;
while ($data = fgetcsv ($fp, 1000, ","

) {
$num = count ($data);
print "<p> $num fields in line $row: <br>";
$row++;
for ($c=0; $c < $num; $c++) {
print $data[$c] . "<br>";
}
}
fclose ($fp);