https://dev.webpages.dk/ |
|
PHP Create and convert textfile
How to create a textfile and write to it, coverting newline's: To convert 'newlines' into HTML breaks (<BR />), we can use the simple command; nl2br($string); This will show the text with the newlines or linebreaks preserved when showing in HTML. Also be sure to read the pages about stripping HTML tags. And htmlspecialchars, and the second part of this; htmlspecialchars_decode |
|
Icons made by Freepik from www.flaticon.com | How to create a textfile and write to it, coverting newline's using 'nl2br()' |
|