Jump to content

Archived

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

alejandrowa

Text Fields

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:

Share this post


Link to post
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?

Share this post


Link to post
Share on other sites

×

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.