printer friendly version html page with php script

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
angelorigo
Forum Newbie
Posts: 3
Joined: Thu Apr 25, 2002 2:05 pm
Location: porto alegre

printer friendly version html page with php script

Post by angelorigo »

hi

Sombody knows a printer friendly version script in php ?
Zmodem
Forum Commoner
Posts: 84
Joined: Thu Apr 18, 2002 3:59 pm

Post by Zmodem »

I usually just strip out all CSS and display tags (like <font> for instance)

just black on white. Don' t really need anything fancy
romeo
Forum Contributor
Posts: 138
Joined: Sun Apr 21, 2002 12:50 pm

hmm

Post by romeo »

for my print friendly versions all i do is re-query the database and pull just the straight text and do a nl2br()

that way the only thing there is what they want.
Post Reply