Newb question here.
Is it possible to limit the number of elements in an array?
I'm working with existing shopping cart code and the code allows for unlimited coupons to be redeemed because it stores them in an array. This could be bad. I would like to have the ability to limit the number of elements in the array to a specific number.
TIA