I'm creating some forms for a classifieds type section, where the user will enter information, it gets stored in MySQL and results pulled to a categorized type directory.
So my question is...
When a user enters information into a text-area, how can the info be put on separate lines ?
Example:
(The following information is typed into the text-area)
"My name is Joe" -first line
"I am Canadian" -second line
Now when this is displayed on the results page this is what it looks like:
"My name is JoeI am Canadian"
As you can see... it's all squished so, how do I make the two sentences on separate lines ??
I"m using php, apache, MySQL. Could it be a MySQL directive in the table structure?
Actually a good example would be this forum. When you type your message and at some point hit 'enter', that breaks the line and starts a new one.
Can someone offer a tip??
Thanks
"In life there are 3 types of people. Some that MAKE it happen, Those that WATCH it happen and some that say... hey! WHAT happened ???"
So my question is...
When a user enters information into a text-area, how can the info be put on separate lines ?
Example:
(The following information is typed into the text-area)
"My name is Joe" -first line
"I am Canadian" -second line
Now when this is displayed on the results page this is what it looks like:
"My name is JoeI am Canadian"
As you can see... it's all squished so, how do I make the two sentences on separate lines ??
I"m using php, apache, MySQL. Could it be a MySQL directive in the table structure?
Actually a good example would be this forum. When you type your message and at some point hit 'enter', that breaks the line and starts a new one.
Can someone offer a tip??
Thanks
"In life there are 3 types of people. Some that MAKE it happen, Those that WATCH it happen and some that say... hey! WHAT happened ???"