I have a PHP/MySQL app that when a user enters a description of there club that it reports back on a group page. When a user enters there information the line breaks are removed and all becomes one long string. Is there anyway that I can keep there line breaks? Also there is a problem with ' showing up correctly but im sure it is related to the first issue.
emclinux
0
Newbie Poster
Recommended Answers
Jump to PostHi....
There are two problems mainly...
Firstly..
When you use a textarea for text purpose, it does not take the enter (line break) automatically...
For this purpose, when you post the information, in the php code, when you use $_POST... just add a small function in there..
All 3 Replies
sikka_varun
0
Junior Poster in Training
ShawnCplus
456
Code Monkey
Team Colleague
emclinux
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.