관리자: 변수 상수 제외 홑따옴표

This commit is contained in:
whitedot
2012-12-26 14:47:34 +09:00
parent a441937076
commit b023c3414d
55 changed files with 594 additions and 598 deletions

View File

@ -18,11 +18,11 @@ $sql = " select vs_date, vs_count as cnt
order by vs_date desc ";
$result = sql_query($sql);
for ($i=0; $row=sql_fetch_array($result); $i++) {
$arr[$row['vs_date']] = $row[cnt];
$arr[$row['vs_date']] = $row['cnt'];
if ($row[cnt] > $max) $max = $row[cnt];
if ($row['cnt'] > $max) $max = $row['cnt'];
$sum_count += $row[cnt];
$sum_count += $row['cnt'];
}
?>