Set input value from array

I have to set a text input with the information obtained from a database query array. How could I implement it?

The text input must contain all the array information inside it.

Thanks!

Community Page
Last updated: