dcsimg
www.webdeveloper.com
Results 1 to 2 of 2

Thread: Textarea Overflow

  1. #1
    Join Date
    Oct 2007
    Posts
    16

    Textarea Overflow

    I'm using serveral Textarea's on my site, the contents get inserted into a DB. A user can search the contents of the DB, but when I'm showing the results that search, it's displaying the results of teh textarea in one ling line. How can I format the input of a textare so 1)It all appears in the textarea w/o scrollbars and 2) When showing again in the search, it doesn't show in one long line....Thanks

  2. #2
    Join Date
    Jun 2003
    Location
    here
    Posts
    4,551
    what serverside language are you using? you'll have to look up the replace function and use it to replace a new line character("\n" in PHP, javascript and similar languages) with "<br />" or "</p><p>" depending on what your after.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles