TCPDF integrated with CI |
Image: http://prntscr.com/oiaxrq
The image i have provided is the "multiple" selected ID that i needed to generate as PDF . 2nd Image: http://prntscr.com/oiaylk The second image is that it show that the PDF look like. Problem: It only generate 1 PDF for me only , what i wanted is that when it can generate multiple PDF depending on how many user i have selected.
You may need to run it through a foreach loop using the total count of users.
What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
07-23-2019, 03:01 PM
(This post was last modified: 07-23-2019, 03:01 PM by InsiteFX. Edit Reason: fix spelling error )
I would do it in the model then pass the data to your controller and view.
What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
(07-23-2019, 03:01 PM)InsiteFX Wrote: I would do it in the model then pass the data to your controller and view. Hello , currently that i am able to get the data and pass it to my pdf view page. But in the pdf view page, it only show 1 pdf generated. I have tested if i put ORDER BY ASC , it will show the "FIRST" data, and if DSC it will show "LAST" data how do i make it able to generate 2 pdf ? |
Welcome Guest, Not a member yet? Register Sign In |