View Full Version : pdf with php
wo1olf
July 14th, 2008, 10:05 AM
i have this script that creat pdf form a text in a DB. But i want to know how can i remove html tags and html entities. Because when i print, they all appear. What i want is to have the pdf the sameformating as if ti was the web page. can anybody help me with it?
simplistik
July 14th, 2008, 10:30 AM
Need to see the script, but it's more than likely you can do a strip_tags to the content as it gets to the processor
Charleh
July 14th, 2008, 11:26 AM
It sounds like your script doesn't convert the HTML layout to PDF layout. Stripping the text of HTML chars will work but you won't get the same layout as was displayed by the HTML. Try looking around for a PDF maker script/library which supports direct HTML feeding or double check your script to make sure there are no methods/properties you haven't seen/tried
Utech22
July 15th, 2008, 11:41 PM
Off topic
Simplistik can you kindly render me some assistance here:
http://www.kirupa.com/forum/showthread.php?t=303468
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.