Results 1 to 3 of 3

Thread: HTMLising TXT

  1. #1
    Guest

    Post

    What's the easiest way to go through the contents of a multiline text box and append "<br>" (without the quotes) to the end of each line?

    It's part of a cgi program that lets the user open a text file and send it to the browser as a web page.

  2. #2
    Frenzied Member Mark Sreeves's Avatar
    Join Date
    Nov 1999
    Location
    UK
    Posts
    1,845

    Post

    Could you read the file Line Input and add <BR> to each line as it's read in

    ------------------
    Mark Sreeves
    Analyst Programmer

    [email protected]
    A BMW Group Company

  3. #3
    Guest

    Post

    Think I know what you mea, but how?

    ------------------
    Matthew Ralston
    The Blue Link
    My Home Page

Posting Permissions

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



Click Here to Expand Forum to Full Width