Tutorial Import CSV into MySQL

$databasehost = "localhost"; $databasename = "test"; $databasetable = "sample"; $databaseusername ="test...


$databasehost = "localhost";
$databasename = "test";
$databasetable = "sample";
$databaseusername ="test";
$databasepassword = "";
$fieldseparator = ",";
$lineseparator = "\n";
$csvfile = "filename.csv";

/********************************/
/* Would you like to add an ampty field at the beginning of these records?
/* This is useful if you have a table with the first field being

Hot in Week

Popular

Archive

item