= $csv[8] && $now < $csv[9] ){ $data[] = $csv; $i++; } } fclose($fp); // 名称設定 foreach($data as $key => $row){ $id[$key] = $row[0]; $date[$key] = $row[1]; $y[$key] = substr($row[1], 0, 4); $m[$key] = substr($row[1], 4, 2); $d[$key] = substr($row[1], 6, 2); $week[$key] = mb_convert_encoding($row[5], "UTF-8", "SJIS-WIN"); $question[$key] = mb_convert_encoding($row[6], "UTF-8", "SJIS-WIN"); $answer[$key] = mb_convert_encoding($row[7], "UTF-8", "SJIS-WIN"); } //並び替え @array_multisort($date, SORT_DESC, SORT_NUMERIC, $id, SORT_DESC, SORT_NUMERIC, $y, SORT_DESC, SORT_NUMERIC, $m, SORT_DESC, SORT_NUMERIC, $d, SORT_DESC, SORT_NUMERIC, $week, SORT_DESC, SORT_STRING, $question, SORT_DESC, SORT_STRING, $answer, SORT_DESC, SORT_STRING ); $da = $y[0]."-".$m[0]."-".$d[0]."(".$week[0].")"; //--------------------------------------------------------------------- // HTML表示 //--------------------------------------------------------------------- ?> モーニングジャム・問題です!!











答えはこちら
バックナンバーはこちら


賞品は番組で発表します

番組紹介MORNING JAMトップページ