2015-02-23から1日間の記事一覧
Excelで作成したCSVファイルをLaravelに読み込んでみた。 $buf = mb_convert_encoding(file_get_contents( Input::file('csv')->getRealPath()), 'utf-8', 'sjis-win'); $lines = explode("\n", $buf); array_pop($lines); array_shift($lines); 最後のarray…
Excelで作成したCSVファイルをLaravelに読み込んでみた。 $buf = mb_convert_encoding(file_get_contents( Input::file('csv')->getRealPath()), 'utf-8', 'sjis-win'); $lines = explode("\n", $buf); array_pop($lines); array_shift($lines); 最後のarray…