Click here to Skip to main content
11,641,067 members (58,296 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: PHP PDF Tables
Well, I don't really know where to start...

I want to create a table with editable data (I have this data and it's input mechanism) in a pdf format for easier printing rather than creating an html document and converting it to a pdf format (due to its free flowing nature, if data inputted is too long, certain images are pushed to another page which is a problem for printing).

Seeing as fpdf does not have table support, do I need to just create a template using lines and then fill in the details? If so how?

Thanks for reading this!


Edit: for some reason whenever I draw a line, it requires a line of text (I'm using $msg) before it otherwise it does not show up. Help?
Posted 13-Jun-12 22:47pm
Edited 13-Jun-12 22:49pm
Madbull12 at 14-Jun-12 6:58am
Sorry, realised I was being stupid and forgetting to use specific code for fpdf :S
worked it out :D

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

OP commented that he solved the issue. Posting here just to pop it out of Unanswered list.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Mika Wendelius 400
1 OriginalGriff 205
2 DamithSL 203
3 CPallini 145
4 Afzaal Ahmad Zeeshan 129
0 Mika Wendelius 380
1 OriginalGriff 205
2 DamithSL 203
3 CPallini 125
4 Afzaal Ahmad Zeeshan 89

Advertise | Privacy | Mobile
Web03 | 2.8.150731.1 | Last Updated 14 Jun 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100