Link to home
Start Free TrialLog in
Avatar of Ridgejp
RidgejpFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Generate PDF from MySQL using PHP

Morning All,

I'm researching ways to print customer records from MySQL via PHP into a PDF file.

Does anyone have a good place to kick this off?

Jason
SOLUTION
Avatar of Peos John
Peos John
Flag of Malaysia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of skullnobrains
skullnobrains

yeah. additionally given the complexity of building pdfs ( get the string length, if too wide make it shorter, get the length again, and so on for each line ending for example ), it might be much simpler to generate html and convert the html string with fpdf ( or an equivalent lib ), asking it to fit the page's width. with the additional benefit you don't have to go through the whole learning curve.
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial