- Impact
- 4
I have one minor problem.
I have a textarea box where a user can put in information. I have that information put into mysql, and then read from mysql later on.
The problem I'm having is that when it is read there are no whitespaces, meaning that if the user put in text with an enter, it doesn't print the enter. For example, A user puts this in:
"This is my text
I have an enter
Now I put 2 enters!"
It prints "This is my text I have an enter Now I put 2 enters!"
Anyone got an idea how to fix this? Thanks
I have a textarea box where a user can put in information. I have that information put into mysql, and then read from mysql later on.
The problem I'm having is that when it is read there are no whitespaces, meaning that if the user put in text with an enter, it doesn't print the enter. For example, A user puts this in:
"This is my text
I have an enter
Now I put 2 enters!"
It prints "This is my text I have an enter Now I put 2 enters!"
Anyone got an idea how to fix this? Thanks














