I’m trying to create customised headers and footer using code examples from the tcpdf website (https://tcpdf.org/examples/example_003/) which requires creating a php class.
when running it on a blank application, I get the following error…Fatal error: Class declarations may not be nested.
Anyone knows a solution to this problem?
Thank you