0

I am using FPDF latest version for creating pdf files in php. The task which i want to perform is that i have values stored in database with html bold tags inside them that is some text is present inside html b tag (properly inside opening and closing tags). I want to display the text inside those b tags as bold in a MultiCell.

Any suggestion how to display the portion of a text bold inside a MultiCell.

Any help will be appreciated!

3 Answers 3

2

You can use the Fpdf Multicell add-on

0

If you are satisfied with similar solution without using MultiCell(), then no need to use Diego's suggestion, because you need to pay at least 20 EUR for that solution.

I've already answered this with only a few lines of code in FPDF - Inline bold text

You can easily modify the Rect() width and height with math to contain your database values.

0

There's a "Free" Version of FDPF Multicell Add-On

Pascal Morin Version

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.