Greetings Master of PHP /bow
I would like to preform the following task but I'm unable to figure out how, I never really got into Arrays and usually just use work arounds. I would be very greatful for your assistance.
1. I want to Copy and Paste data from my computer into a text field (Multiline)
2. When I click submit the php code should then take all of the data from the text field and seperate each line into a seperate variable / array entry.
3. I then need to enter that data into a mysql database (I know how to work with DBs just not the extract from array and enter bit)
I'm not sure if it can be done without an array? I guess you could enter the data into the database on each cycle of the extraction process?
There is no set format to the data, it will look something like this.
French
German
Spanish-Portugal
Chineese
and in my database I would like a field called Language with 1 row per language.
etc...
Thanking you in advance for your help!