Hi guys, I want to use a library called PHP_XLSXWriter... to be more accurate I need to use a file called "xlsxwriter.class.php"
To use a library in my project I put the file on the library folder and when I'm going to use it in a controller, I just create a new instance.
By example: I have a library called simplehtmldom.php ... I have that file on my library folder, then on my code I use
'$objParser = new simplehtmldom();' And then I can use the library, no problem.
But with this "xlsxwriter.class.php" file I'm having some trouble. I can't use something like
"$var = new xlsxwriter.class"
because it gives me an error (because of the .class). I also can't use something like
...again this gives me an error, the file doesn't recognize it.
Can you please point me in the right direction to use this file?? I'm sure it's something super simple, but I haven't been able to solve this. Thank you so so much for your help!