Jump to content


Photo

gerate pdf using php


  • Please log in to reply
2 replies to this topic

#1 loloi

loloi
  • New Members
  • Pip
  • Newbie
  • 3 posts

Posted 31 May 2006 - 03:44 PM

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....

#2 lead2gold

lead2gold
  • Members
  • PipPipPip
  • Advanced Member
  • 164 posts
  • LocationOttawa, On

Posted 31 May 2006 - 03:51 PM

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.

#3 loloi

loloi
  • New Members
  • Pip
  • Newbie
  • 3 posts

Posted 31 May 2006 - 04:48 PM

thanks sir.. =) ..ill try it right away =)




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users