Can you please give me the warning/error message if you get?
If no such, have you tried to print that array?