nl2br(); can do for EOL but what about white spaces and/or tabs at the beginning(or not) of line? Is there any function to do this at once? I need well formatted html output of text file.
Thx.
nl2br(); can do for EOL but what about white spaces and/or tabs at the
Share
well may be
<pre>....</pre>can do italso see
http://php.net/manual/en/function.htmlspecialchars.php
http://www.php.net/manual/en/function.htmlentities.php