LouisHacking Posted April 5, 2014 Share Posted April 5, 2014 So, i tried using fpdf to created a PDF. Not much success... I want to place a table in from some results of my query and array in the form of a while if that makes sense? Any ideas? Help would be appreciated! Thanks! Quote Link to comment https://forums.phpfreaks.com/topic/287547-pdf-creation/ Share on other sites More sharing options...
trq Posted April 5, 2014 Share Posted April 5, 2014 Any ideas? We're going to need a better description of the problem your having. Maybe even see some code. We're good, but not miracle workers. Quote Link to comment https://forums.phpfreaks.com/topic/287547-pdf-creation/#findComment-1475075 Share on other sites More sharing options...
LouisHacking Posted April 5, 2014 Author Share Posted April 5, 2014 Just an insight into PDF creation... Any miracle workers out there?? Quote Link to comment https://forums.phpfreaks.com/topic/287547-pdf-creation/#findComment-1475081 Share on other sites More sharing options...
Rifts Posted April 5, 2014 Share Posted April 5, 2014 http://www.tcpdf.org/ Quote Link to comment https://forums.phpfreaks.com/topic/287547-pdf-creation/#findComment-1475084 Share on other sites More sharing options...
ginerjm Posted April 6, 2014 Share Posted April 6, 2014 Like trq said - we need some direction so that we can give you direction. Please explain your problem better. Your original post was kind of squirrely. Can you write better English or at least elaborate more on your problem(s) with fpdf? I've used fpdf multiple times and think I know it pretty well. Quote Link to comment https://forums.phpfreaks.com/topic/287547-pdf-creation/#findComment-1475121 Share on other sites More sharing options...
LouisHacking Posted April 6, 2014 Author Share Posted April 6, 2014 Just want to know how i can put a while script in there, that creates a table to display a list of results from the query Quote Link to comment https://forums.phpfreaks.com/topic/287547-pdf-creation/#findComment-1475167 Share on other sites More sharing options...
trq Posted April 7, 2014 Share Posted April 7, 2014 Just want to know how i can put a while script in there In where? You have given us zero in the way of code. Quote Link to comment https://forums.phpfreaks.com/topic/287547-pdf-creation/#findComment-1475180 Share on other sites More sharing options...
ginerjm Posted April 7, 2014 Share Posted April 7, 2014 FPDF is a php class. That means you write your same old php code to accomplish your solution (get the data!) but when it is time to output it you make calls to methods of this class instead of echo'ing it to the client. It will take a little practice to understand how the calls work and to get comfortable with the setting of x & y coordinates but if you're a programmer you'll catch on soon. Quote Link to comment https://forums.phpfreaks.com/topic/287547-pdf-creation/#findComment-1475225 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.