Jump to content

Archived

This topic is now archived and is closed to further replies.

loloi

gerate pdf using php

Recommended Posts

hi php gurus im new with php...

want to generate a pdf using php...
tried some sample codes in the net but i got an error message something like

Fatal error: Call to undefined function: pdf_new() in /home/blahblah/test/pdf2.php on line 2

.... pls help.. need help badly....

Share this post


Link to post
Share on other sites
use this site:
[a href=\"http://www.fpdf.org/\" target=\"_blank\"]http://www.fpdf.org/[/a]

It's what i used. It's pretty simple once you get the hang of it.

You can end up putting all the common generations (such as headers and footers) in there own functions and call them when ou need them.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.