<%
totalAll=0
n = 1
For i=1 to UBOUND(arrName)
if arrName(i) <>"" then
echo ""
echo "" & n & ""
n = n + 1
echo "" & UCase(arrName(i)) & ""
tmptotal=0
For x=1 to UBOUND(ArrDate)
%><%
nTotal=0
for j=0 to UBOUND(ArrAllName)
IF ArrAllName(j) = ArrName(i) AND ArrAllDate(j) = ArrDate(x) THEN
nTotal = nTotal + 1
ArrTotalPerDate(x) = ArrTotalPerDate(x) + 1
END IF
Next
IF nTotal > 0 THEN
response.write(nTotal)
ArrHC(x) = ArrHC(x) + 1
ELSE
response.write(" ")
END IF
tmptotal = tmptotal + nTotal
%><%
next
echo "" & tmptotal & ""
echo ""
end if
Next
%>
No cry ya!!!! This is ASP source code and This is silly..reading and try to understand other's source code is silly because different people has different ways to program. In the mean time i am extremely hungry!!