hi all,
hopefully not too complicated but I’m not so strong with php and was wondering if anyone could point me in the direction of how to achieve the following:
I’ve got a job site I built which allows people to post a full job description in a textarea which is submitted to a mysql db along with other fields such as location/job title etc.
In the job description I’d like users to be able to paste in all the text and have the field wrap each paragraph in a <p> tag in the page once it’s saved.
At the moment, as there’s no specific processing it just lists all the text in a solid block with no formatting.
I’ve tried tinyeditor which works alright but for my needs, I don’t want users to be able to add all the other formatting like bold, italic etc and change colours and also the source it spits out is horrific.
Is there a way I can post in a couple of paragraphs of text into my text field and have it render on the page in <p> tags?
Many thanks,
James.