in reply to Can't get the right array value

Please, what the hell am I doing wrong on this???

Well, for one thing, you (repeatedly) ask questions without first trying use strict and warnings.

Now, in this case, it won't directly help find the problem, but it might get you to think more about exactly how your using your variables which might make the problem more clear.

And with variable names like @status_atividades, I would definitely be using strict.