954,568 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

PHP and PDF

I want to create pdf from sql result and then also mail it or save it. Kindly advise.
I want any link to working example and code or simple code.

Thanks. :)

leopardsag
Newbie Poster
8 posts since Dec 2005
Reputation Points: 10
Solved Threads: 0
 

I want to create pdf from sql result and then also mail it or save it. Kindly advise. I want any link to working example and code or simple code.

Thanks. :)

Hii Leopardsag

I have posted a similar question. I amtrying to create PDF. I installed pdflib and enabled pdf related lines in the php.ini file
But no luck :(
If u hv any idea , do let me know

Thanks

php_coder
Light Poster
34 posts since Dec 2006
Reputation Points: 10
Solved Threads: 0
 

Ok dear.
I have some examples but did not try yet. I intend to tonight and then i will post these in this thread for you. Lets help ourselves then. See you with couple of scripts soon.
Regards

leopardsag
Newbie Poster
8 posts since Dec 2005
Reputation Points: 10
Solved Threads: 0
 

Hi
Thanks in advance. I have seen ur personal site. It' gud.I liked the flash part especially.

Regards
Prati

php_coder
Light Poster
34 posts since Dec 2006
Reputation Points: 10
Solved Threads: 0
 
Ok dear. I have some examples but did not try yet. I intend to tonight and then i will post these in this thread for you. Lets help ourselves then. See you with couple of scripts soon. Regards


hi, may i know ur example.i'm having same problem.

thanks in advance

red_ruewei
Light Poster
37 posts since Jun 2010
Reputation Points: 10
Solved Threads: 0
 

If you were to do a search on Daniweb, you would find lots of previous posts on this topic. I have suggested HTML2PDF before so I will do it again. If you already have formatted output using well-written HTML (e.g. with closing tags), then this utility can use that to create a PDF. You don't need any special PDF commands (even though it does have a few that you can use). I find this a lot easier than having to specifically code something to construct a PDF.

chrishea
Nearly a Posting Virtuoso
1,428 posts since Sep 2008
Reputation Points: 210
Solved Threads: 230
 
If you were to do a search on Daniweb, you would find lots of previous posts on this topic. I have suggested HTML2PDF before so I will do it again. If you already have formatted output using well-written HTML (e.g. with closing tags), then this utility can use that to create a PDF. You don't need any special PDF commands (even though it does have a few that you can use). I find this a lot easier than having to specifically code something to construct a PDF.


thanks for reply

red_ruewei
Light Poster
37 posts since Jun 2010
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You