Jump to content

Text Fields


alejandrowa

Recommended Posts

Hi:

 

I have a problem, I am building a database and it has a text field for descriptions. See when I put the data on a text area and make line changes everything looks fine, but when i query the database and echo the text it appears as a string with no line change.

 

Thank you. :shock:

Link to comment
Share on other sites

I\'m having a bit of trouble understanding you, so correct me if I\'m wrong.

 

You have an HTML form with a text field or text area. When you type a bunch of junk into it and submit the form, it dumps the contents of the text field or area into the database. When you retrieve the data from the database, however, everything appears as a one, very long line of text no matter how many times you edit it?

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.