If you want to import several csv files and you're doing it manually, you might also want to use a graphical tool to make the job easier. You can use Adminer for this:
Import option on the left..csv file.Execute button.If your file is actually a csv file with fields separated by comma, you must specify the field separator.
LOAD DATA INFILE '$file' INTO TABLE $tbl_name FIELDS TERMINATED BY ','
If you don't state the field separator mysql considers the field separator as tab (\t).
In case the file is created with return carriage, monstly windows applications do that, you also need to add in the end of the statement:
LINES TERMINATED BY '\r\n'