i have downloaded and extracted fpdf into my root folder site folder.. i want to know how i can generate a pdf file when i press a button called print.
please help?
and wehre do i put this fpdf code? is it in the script that contains the output?

Recommended Answers

All 2 Replies

with your print button you will have the file containing your fpdf code. if you need to pass any variables into that page you can do so with get or post.

fpdf come with pages and pages of great examples. Just remember, and this is important, to have ZERO WHITESPACE or it will return a blank

hi wats ur skype id?? i can send u the code i use!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.