' . $read_harappadate_array[$i] . ''; } // 文字の埋め込み(実施日) $read_harappadate_data = mb_convert_encoding($read_harappadate_data, $encoding, "UTF-8"); $contents = str_replace("%READ_HARAPPADATE%", $read_harappadate_data, $contents); // 文字の埋め込み(説明会) $read_session_data = mb_convert_encoding($read_session_data, $encoding, "UTF-8"); $contents = str_replace("%READ_SESSIONDATA%", $read_session_data, $contents); // 文字の埋め込み(フリーデータ) $read_free_data = mb_convert_encoding($read_free_data, $encoding, "UTF-8"); $contents = str_replace("%READ_FREEDATA%", $read_free_data, $contents); // HTML出力 echo $contents; ?>