$max) $max = $row[cnt]; $sum_count += $row[cnt]; } $k = 0; if ($i) { for ($i=0; $i<24; $i++) { $hour = sprintf('%02d', $i); $count = (int)$arr[$hour]; $rate = ($count / $sum_count * 100); $s_rate = number_format($rate, 1); $bar = (int)($count / $max * 100); $graph = ''; $list = ($k++%2); echo ' '; } echo ' '; } else { echo ''; } ?>
시간 방문자수 비율(%) 그래프
$hour '.number_format($count).' $s_rate $graph
합계 '.number_format($sum_count).'  
자료가 없습니다.