Freelance Projects

All Freelance Projects at One Location


Php To Pdf  27.07.08

I’ve created a PHP script that should create a PDF containing spesific data from a table in my MySQL database. My problem is that I can’t seem to get it to print by ID or department of the database.

I think it’s easier to understand what I mean by looking at my code, and my output PDF file.

Here’s the PHP script:
http://rafb.net/p/bqzJGJ14.html

Here’s the PDF file it generates:
http://shcmack.fileave.com/PDF_Doc.pdf

The point is, if I have department 1, 2, 3, 4, 11, 24, 25 – I want it to check if they exist, and then print them like in the PDF file I’ve linked to.

Share and Enjoy:
  • Digg
  • del.icio.us
  • Google Bookmarks
  • Twitter
  • Facebook
  • StumbleUpon
  • Slashdot
  • Technorati
  • BlinkList
  • Reddit
  • DZone
  • Live
  • NewsVine
  • LinkedIn
  • Yahoo! Buzz
  • MySpace
  • Netvibes
  • Tumblr
  • Yahoo! Bookmarks
  • Add to favorites
  • email
  • Print
  • RSS


If you liked this project, make sure you
Subscribe to Freelance Projects RSS feed!