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
angelorigo
Forum Newbie
Posts: 3 Joined: Thu Apr 25, 2002 2:05 pm
Location: porto alegre
Post
by angelorigo » Thu Apr 25, 2002 2:05 pm
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 » Thu Apr 25, 2002 2:47 pm
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
Post
by romeo » Thu Apr 25, 2002 7:42 pm
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.