Jump to content

How A <textarea> represents a new line?


glenelkins

Recommended Posts

Here is something iv never had to worry about,but i do now!

 

I need to know how a textarea that posts data to a php script represents a new line so i can explode() the text. I have tried explode ( '\n', $_POST['textarea_field'] );  and that doesnt work it simply puts everything into positon 0 in the array

Link to comment
https://forums.phpfreaks.com/topic/142639-how-a-represents-a-new-line/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.