Question about a function

I don't understand your question.
That code shows display as an array.
If you want help the post ALL your code and ask a question about it.
If you don't want help then stop wasting everyone's time.