PHP: mPDF / pdf library / is it possible to create multiple pdf files in a loop?
问题 I'm using mPDF library and I'm trying to write a code which will create multiple PDF files at one call (with one opening of: test.php). Problem: always only the first file is downloaded. I know that the question may seems stupid, I've tried to dive deep into google but I can't figure out how to solve this. Maybe someone could lead me on the right path? My logic is: - I have one array with all of orders; for each order I would like to create PDF. - I loop the array and each time call the MPDF