• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
TCPDF integrated with CI

#1
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.
Reply

#2
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 )
Reply

#3
(07-22-2019, 12:22 PM)InsiteFX Wrote: You may need to run it through a foreach loop using the total count of users.

I wondered on which page i should do the foreach loop ? on the model or the view , or both ?
Reply

#4
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 )
Reply

#5
(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 ?  Undecided
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.