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
"Fredrik Fornwall" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> 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 prefe
Sorry, don't understand what you mean... If I understand it right, you want
PHP to include HTML asis and make the text look like it would in notepad
(with spaces and so on)... Like
echo
$istxt?"".htmlentities(implode('',file($filename)))."":implode(''
,file($filename));
However, my code is often li
3 matches
Mail list logo