I have a program that adds the content of a text box into a text file which I include on another page, the problem is that the include doesn’t automatically create a new line where it is in the text file.
How do i do this?
Thanks for the help in advance!
If the issue is with viewing the newlines in the actual text box, \r\n, \r, or \n should do it (depending on your OS). Alternatively, if you want to view said newlines on the web you would use echo nl2br( $txt )