PDA

Click to See Complete Forum and Search --> : HTMLising TXT


Nov 24th, 1999, 09:55 PM
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.

Mark Sreeves
Nov 24th, 1999, 10:05 PM
Could you read the file Line Input and add <BR> to each line as it's read in

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

Mark.Sreeves@Softlab.co.uk
A BMW Group Company

Nov 24th, 1999, 10:35 PM
Think I know what you mea, but how?

------------------
Matthew Ralston (http://mailto:m.ralston@mediavault.co.uk)
The Blue Link (http://195.89.158.103)
My Home Page (http://mralston.cjb.net)