Hi
My concern is about best pratice.
I have a PHP that generates PDF using TCPDF. I am using switch to choose specific code for specific files to generate. Inside each switch I have a bunch of code.
Should I still work like it is or should I call outside PHPs inside each switch with the specific code for it?
Thanks in advance.