That may work, but how do i get the values into the array from the database?

The field in the database is a text field and contains several names. The names are sperated with the Enter key. Any ideas to "loop" out the names into an array?