Can you explain what data you are having problems using arrays with.
You are using an array here:
total = getdata[i-1];
Type: Posts; User: Norm
Can you explain what data you are having problems using arrays with.
You are using an array here:
total = getdata[i-1];
Have you worked on the change I suggested to get rid of the 4 if statements and reduce the code to a few statements that uses an index that is computed from the value of i to access the contents of...
When you have code that is repeated again and again and again with only a small consistent change from one to the next you should think about how to reduce the code to one instance by using a...