I am have an order form with various items and quantities named item1 quantity1 etc... I would like to fill an array with the quantity values using a for loop ( or at least that is the way I am trying to do it).
I'm sure my error lies in my syntax and lack of php knowledge.
for ( $i=1; $i<=84; ++$i){
$quanitity[$i] = $HTTP_POST_VARS[quantity.$i];
}
Of course it doesnt work...but seems as though i may be close, I'm going off of C language I learned 8 years ago...any help would once again be greatly appreciated. Thank You!