Y
Y
YakutD2019-11-13 11:53:51
PHP
YakutD, 2019-11-13 11:53:51

How to insert multiple pictures in Word using php?

Hello, using phpdox we generate a document. It is supposed to insert a dynamic number of images, I think replacePlaceholderImage is not suitable, since it can only insert one image at a time. How to proceed?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Y
YakutD, 2019-11-13
@YakutD

I decided this way - I wrote a PHP cycle directly in the template, and then through eval I got the number of placeholders I needed with unique identifiers.

L
Lazy @BojackHorseman PHP, 2019-11-13
Tag

call the method the right number of times for different Placeholders?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question