I am using FPDF utility to generate report using Mysql DB
i hv to select the entry in DB and print in to columns
I am generating PDF files as output.

There are two column's in Report and many rows of data which is queried from the DB
i.e
Title Data
Name ABC
AGE 27

Title is static and Data is dynamic queried from the DB

Please help, i tried other ways but they are not effective......


Regards,

Sachin

You can create the report as an html report and then write that to a PDF using HTML2PDF. You have to be a little be careful with the html that you create but in the end, I think that it is simpler than having to explicitly create the PDF yourself. For more info. see:
HTML2PDF

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.