■ CSVデータを表示する
[an error occurred while processing this directive]
表示するCSVファイル
[an error occurred while processing this directive]
実行結果
[an error occurred while processing this directive]
CSVデータを読み込んでテーブル形式で表示するスクリプトです。やっていることは単純ですね。splitを使ってデータを分離して、それをhtmlの文法に従って、テーブル形式に変換しているだけです。
|