in reply to Re^2: Add new data to array
in thread Add new data to array

You have an issue with $data but hide it to us. That's my point.

-jo