loss of formating from echo to html
Posted: Mon Jun 16, 2003 7:09 pm
How do I get the carriage returns in a text file to show up in an html ducument.
Essentially I am writting a text file with a .php extension on it and using the require function to then echo it into an html ducument for online rendering.
The original text document has paragraphs in it- however when it is echoed in html document all the spaces between the paragraphs are lost?
Does any one know how to keep the formating intact?
thanks in advance,
t-
Essentially I am writting a text file with a .php extension on it and using the require function to then echo it into an html ducument for online rendering.
The original text document has paragraphs in it- however when it is echoed in html document all the spaces between the paragraphs are lost?
Does any one know how to keep the formating intact?
thanks in advance,
t-