hello,
I have been trying to make an administrator page to update or add new information to the website.
I made a form where there are some textfields and textarea to. But now my question is how do you keep the format of the text intact. So lets say I'm writing some text in the textarea and I hit enter twice to simulate a new paragraph. When it saves the text in the database I can see that it adds "\n" to the text but when I display the text from the database it doesn't show these newlines. This is probably because HTML doesn't read this kind of code...
So my question is.. Is there a way to display convert this code to something HTML can read or do I have to manually put "<p></p>" while writing the text in the textarea?