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
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..

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.