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:42 PM

hi php gurus im new with php...

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

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

#2 poirot

poirot
  • Members
  • PipPipPip
  • Advanced Member
  • 646 posts
  • LocationAustin, TX

Posted 31 May 2006 - 07:47 PM

This means you don't have the PDF library installed...

You can search for alternative though (ready-made scripts)
~ D Kuang

#3 Barand

Barand
  • Moderators
  • Sen . ( ile || sei )
  • 18,021 posts

Posted 31 May 2006 - 07:52 PM

Have a look at [a href=\"http://www.fpdf.org\" target=\"_blank\"]http://www.fpdf.org[/a]
If you are still using mysql_ functions, STOP! Use mysqli_ or PDO. The longer you leave it the more you will have to rewrite.

Donations gratefully received






moon.png

|baaGrid| easy data tables - and more
|baaChart| easy line, column and pie charts




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users