How do I insert Excel data into MySQL PHP as an array?
$file = "your-file.xls"; $handle = fopen($file, "r"); $c = 0; while(($filesop = fgetcsv($handle, 1000, ",")) !== false) { $name[$c] = $filesop[0]; $email[$c] = $filesop[1]; $c += 1; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)