hi
sometimes creating pdf on the fly can be tricky part in my coding world. if its scratch coding then its fine but the mess is inevitable. to make it clean, i gotta put it into the codeigniter. its easier to track.i use these 2 php classes when dealing with pdf file.
if u ask the advantage or the disadvantage between these 2 php classes,
i said, thats depends on u. which one do u like cos it will be u will do the works... haha
as for me, i use both, sometimes tcpdf n sometimes fpdf when creating the pdf.
at the beginning, im having trouble when i tried to create pdf with header n footer cos the involvement of the class within the classes. at that time, im trying to write the header and the footer of the pdf inside the controller. yea, i admit, im not that smart untill recently i learn to write the header n the footer in the view file. this will make my controller clean. left only process in the controller.
easier to see n to track all the things through the controller in case of debugging.
anyway, enjoy the video.