tfolima Posted October 10, 2003 Report Share Posted October 10, 2003 Alguém sabe como posso imprimir via a função printer do PHP um texto com formatação HTML? Quote Link to comment Share on other sites More sharing options...
0 rockbilly Posted October 10, 2003 Report Share Posted October 10, 2003 tenta esse código:<?php $arquivo = file("arquivo.html"); $contar = count($arquivo); for ($i=0; $i < $contar; $i++) { $cache = htmlspecialchars($arquivo[$i]); echo $cache; } ?> Quote Link to comment Share on other sites More sharing options...
Question
tfolima
Alguém sabe como posso imprimir via a função printer do PHP um texto com formatação HTML?
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.