$total_month[$i], ³âµµ Ä«¿îÆ®À² ÀúÀå -> $per_month[$i] for($i=1;$i<13;$i++){ $scale = 4.5; if(!$year and !$month){ $query = "select SUM(today) from webin_statics where day_month=$i"; $result = mysql_query($query) or die("$query".mysql_error()); }else{ $query = "select SUM(today) from webin_statics where day_year=$day_year and day_month=$i"; $result = mysql_query($query) or die("$query".mysql_error()); } $row = mysql_fetch_array($result) or die("$query".mysql_error()); # $total_month[$i] = $row[0]; if($row[0]==""){ $row[0] = 0;}else{$num_static++;} $per_month[$i] = round(($row[0]/$total_count)*100); $width = $per_month[$i]*$scale; echo " "; } //for($i=0;$i<$num_month;$i++){ mysql_free_result($result); $avr_count = $total_count / $num_static ; $per_total = round(($avr_count/$total_count)*100); $avr_width = $per_total*$scale; $avr_count = substr($avr_count,0,7); echo " "; ?>
¿ùº° HIT ¿ùº° Á¢¼Ó Åë°è ±×·¡ÇÁ
${i}¿ù $row[0] ${per_month[$i]}%
Æò±Õ $avr_count
 






copyleft¨Ïwebin webin.sarang.net