i have website with text area where user pastes text which looks like this: 

```
Name
Surname
Age
Mail

John
Smith
99
john@john.com

```

i want to make variables from words "John","Smith",... and then save them to database

thanks