Jump to content

HELP ON FORMATTING TEXT AREA


knaj11

Recommended Posts

i have a text area which is values is stored to mysql after being submitted, i then get the value of the text area from mysql using PHP-post. .

now the problem is that the content of my text area are lyrics...

 

it was inputted like this in the text area, and it should look like this after retrieving from mysql..

"Imagine a dirt road full of potholes

With a creek bank and some cane poles catchin channel cat

I'm a little more country than that"

 

unluckily, it will result to this after retrieving...

"Imagine a dirt road full of potholes With a creek bank and some cane poles catchin channel cat I'm a little more country than that"

 

how should i format that??? help please

Link to comment
https://forums.phpfreaks.com/topic/197101-help-on-formatting-text-area/
Share on other sites

i have a form which contains a text area. i got a problem on how to format what has been entered in the text area. sample they input paragraphs(well usually) but once they submit the text area it won't save in the correct format. Like how would i let it know that they started a new line and have it automatically enter a <p> tag or whateveer..

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.