Thread: text input

    #1
  1. No Profile Picture
    Indie Poser Punk
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2000
    Location
    Wayne, PA
    Posts
    216
    Rep Power
    14
    Ok...here's the thing. I'm trying to build a database where I can input articles to be served up later. The most important field is the body of the article. I made this a text (instead of blob) field, but when I cut the article from, say, MS Word, and paste it into the field in the form (I built a web form with PHP for this purpose), the info in the field is all screwy when I look at it through Telnet, or exported text. There are no paragraph breaks, there's some gremlins, etc. Any advice would be great. Thanks for listening.
  2. #2
  3. No Profile Picture
    Apprentice Deity
    Devshed Loyal (3000 - 3499 posts)

    Join Date
    Jul 1999
    Location
    Niagara Falls (On the wrong side of the gorge)
    Posts
    3,237
    Rep Power
    18
    You can't expect a word doc to save as text. There are all sorts of 'hidden' formatting characters in there that don't mean squat in HTML. Use Word's save as HTML feature. Then import that to your DB
  4. #3
  5. No Profile Picture
    Indie Poser Punk
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2000
    Location
    Wayne, PA
    Posts
    216
    Rep Power
    14
    Thanks!

Similar Threads

  1. help with tables and wordwrapping
    By junkedBrian613 in forum PHP Development
    Replies: 2
    Last Post: February 15th, 2004, 05:42 PM
  2. input text : can an input text send 2 value
    By dbosz in forum PHP Development
    Replies: 1
    Last Post: January 28th, 2004, 05:41 AM
  3. how to keep table on top, not centered??
    By vinyl in forum HTML Programming
    Replies: 2
    Last Post: January 20th, 2004, 06:19 PM
  4. float question
    By yeah-yeah in forum HTML Programming
    Replies: 10
    Last Post: January 15th, 2004, 03:59 PM
  5. Javascript scrollbar - stuck on last bit
    By NayMyoSan in forum JavaScript Development
    Replies: 0
    Last Post: January 3rd, 2004, 12:05 PM

IMN logo majestic logo threadwatch logo seochat tools logo