Click here to Skip to main content
11,796,394 members (70,959 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 Maciej Los 570
1 Abhinav S 392
2 OriginalGriff 340
3 CPallini 269
4 KrunalRohit 249
0 OriginalGriff 2,012
1 Maciej Los 1,615
2 KrunalRohit 1,310
3 CPallini 1,015
4 Richard MacCutchan 828

Advertise | Privacy | Mobile
Web01 | 2.8.151002.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