I have many text files stored on my server. I call them use using the
readfile function. While that works great, it seems to over-write the hard
returns. This has hurt the format and readability of my information.
ie.
text file:
This is
a
test
output:
This is a test
is there someway to get
text file:
This is
a
test
output:
This is a test
HTML ignores carriage returns. You could wrap it in PRE/PRE tags, or
SPAN STYLE='white-space: pre;'/SPAN tags.
Jason
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
on 5/16/01 8:38 PM, Ray Iftikhar at [EMAIL PROTECTED] wrote:
I have many text files stored on my server. I call them use using the
readfile function. While that works great, it seems to over-write the hard
returns. This has hurt the format and readability of my information.
ie.
text file:
3 matches
Mail list logo