Isn't this the wrong index ? ++$AAOcc[$counter]; should it be ++$AAOcc[$i]?
In reply to Re: Code won't proceed after input. by RichardK in thread Code won't proceed after input. by newbie1991