Skip to content
Advertisement

FPDF setting 2 consecutive values in one cell

I just need to find out how to set 2 values from MySQL database in a FPDF. The values will be consecutive with a ‘dash’ in between them. Here is an example of what I want to do.

JavaScript

Advertisement

Answer

You are using a comma but should be using the dot ‘.’. FPF is seeing these as different arguments separated by commas.

JavaScript
User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement