'; for ($i=0;$i<20;$i++) { if ($enq[$i]=="off") { continue;} $contents .= ''; $contents .= ''; $contents .= '
'; $contents .= $enq["qtext"][$i]; $contents .= '
'; $contents .= ''; $contents .= ''; $contents .= ''; if ($i<15) { //最大カウント値を取得 for ($z=0;$z100) { $maxlen = 100; } else { $maxlen = $max; } //データ出力 for ($j=0;$j<10;$j++) { $tmp= "qc".$i; if (!$enq[$tmp][$j]) { continue;} //選択肢 $contents .= ''; } } else { for ($z=0;$z
'; $contents .= ($j+1).': '.$enq[$tmp][$j].'
'; //回答数 $contents .= '
'; $contents .= $count[$i][$j]; $contents .= ''; //グラフ if($count[$i][$j]>0){ $contents .= ''; } $contents .= '