Hi!
I'm just trying to code a guestbook (for excercise purposes only), where I have a formular with 2 text inputs and a textarea field.
The entries are written in a textfile:
E.g:
Somebody Name|somebody@name.com|Some message a guy left|Timestamp|
The whole entry is one line of my file.
Now my problem is that when the message contains newlines (paragraphs,or whatever
)the variable is written in more lines, keeping the newlines as they are...
I have tried several methods, but they didn't work out.
Maybe you can help me, I would appreciate it very much!
Thank you, bye
Steve
I'm just trying to code a guestbook (for excercise purposes only), where I have a formular with 2 text inputs and a textarea field.
The entries are written in a textfile:
E.g:
Somebody Name|somebody@name.com|Some message a guy left|Timestamp|
The whole entry is one line of my file.
Now my problem is that when the message contains newlines (paragraphs,or whatever
I have tried several methods, but they didn't work out.
Maybe you can help me, I would appreciate it very much!
Thank you, bye
Steve