I need help making a for loop..
Basically i need it to say this..
$total =variable[1] + variable[2] + variable[3] + variable[4] + variable[5] + variable[6] + variable[7];
Thanks for any input.
Anothony
For loop?
Moderator: General Moderators
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
no loop needed: array_sum()