Answer the question
In order to leave comments, you need to log in
How to php data loop for pdf?
Hello! I apologize for the wrong title question.
in general the essence is this. create pdf document using php. I insert data into the template. everything is fine, but there is a difficulty with the output of data from the array. that is, there is an array with data and this data must be displayed in a pdf template.
DOMPDF library
where $rtr is an array. I don't know how much data is in the array.
Thanks $sData = str_replace('rtr', $rtr, $sData);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question