Excelファイルを単純なcsv(コンマ区切り値)形式で保存すると、PHPを使用してデータをコンマで簡単に分割し、整理することができます。
次のコードを使用して、ファイルからデータを読み取ります。
$file_name = "test.csv"; // This needs to be relative to the current location that this script is being executed in
$fp = fopen($file_name, "r"); // "r" means read, change to "rw" or "w" for read/write and write as needed
$data = fread($fp, filesize($file_name)); // Read the contents of the file into a string
fclose($fp); // Close the file for efficiency
$data = explode(',', $data); // Override data with the array format
これは単なる基本的なスクリプトであり、ニーズに合わせて操作するには自分で操作する必要があります。ごきげんよう :)