/    Sign up×
Community /Pin to ProfileBookmark

converting php to pdf

Hi,

Can somebody give me an idea how can I actually convert a web page content (content fetch from MySQL db – with while loop) to a pdf file?

I found fpdf but it doesnt seem to work. Anyone has experience creating pdf file by using MYSQL PHP ?

p.s = content consists of image and text

please advise.. thanks

to post a comment
PHP

3 Comments(s)

Copy linkTweet thisAlerts:
@TheRaveFeb 15.2008 — The standard method is to use PHP's PDFlib.

Just google PHP PDFLib and there's loads of information.
Copy linkTweet thisAlerts:
@AliciaauthorFeb 15.2008 — i know phplib can be used but we have to pay for that right ? I am looking for somethng that we dont have to pay to use,,

any advice or tutorial that you can recommend ?

p.s : I did google any keyphrase I could to get more information but found nothing useful.. thats y I am here to ask.. hopefully some experts can assist =)
Copy linkTweet thisAlerts:
@the-ferretFeb 15.2008 — TCPDF is an Open Source PHP class for generating PDF files on-the-fly without requiring external extensions.

TCPDF has been originally derived from the FPDF class by Olivier Plathey (http://www.fpdf.org)">http://www.fpdf.org).

I have not used it but sounds like what you need.
×

Success!

Help @Alicia spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.20,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...