Re: [PHP] Re: Including text with PHP and keeping blanks

2003-06-16 Thread Fredrik Fornwall
Hugh Bothwell wrote: echo "$mytext";// ;-) Unless you are going to render to a fixed-width font, your spacing will suffer anyway... or do you only care about left-hand spaces, ie for indenting? Thanks! I did not know about the tag, but this was what I needed (and yes, I only really

[PHP] Including text with PHP and keeping blanks

2003-06-16 Thread Fredrik Fornwall
Hello! I am just wondering if there exist some built-in function in PHP to include text files in HTML while retaining blank spaces and tabs. While I have found some text to HTML converting scripts I would prefer to let PHP format the text while including it into a web page, instead of creating