How about you show us a real sample that we can actually run and that shows the problem you are having in the output?
If the first and only element in @orders were a reference to an array then what you describe is exactly what I would expect to see. Maybe there is a bug elsewhere in the code that we can't see and your expectations of the content of the orders array are wrong?
In reply to Re: Foreach loop not looping?!
by GrandFather
in thread Foreach loop not looping?!
by rjberry
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |