Hello I am saving email address from a textarea in a database. Now i want this data to be put in an array so I can send each email addres a mail.
On every line break there is an e-mail adres like so:
<textarea>
my@email.com
my2@email.com
my3@email.com
</textarea>
This data is save in the database as LONGTEXT. I get this data out of the database as a String. But I want the data to be put in an array. So each email gets an unique index. Note that no special characters like '\n' and < br > are save in the database.
Thanks in advance!