I have a HTML page that creates dynamically other HTML pages using PHP (fopen,fwrite,…).
The thing is that when I put the content of the HTML template I want for the page into a PHP variable I get into trouble because of the HTML characters (<,>, …).
How can I avoid this ?
Can I import directly the content of the template file ?
Try this :