Write data into array

Hi there,
I'd like to write data (taken out of the sqldatabase or the node 'form') into an array. Could you help please how I can do this. I was thinking about creating an empty array and then push the data into it.
Thanks a lot in advance!

If you use this node it will return the results from a 'MySQL database query' as an array - job done for you.