I have the line $pdf = new FPDF(); which works if the FPDF library is in the root directory, but how do I use it if the library is in a sub folder. I have tried
$pdf = new mySubfolder/FPDF();
but it doesnt work. Any help please?
I have the line $pdf = new FPDF(); which works if the FPDF library is in the root directory, but how do I use it if the library is in a sub folder. I have tried
$pdf = new mySubfolder/FPDF();
but it doesnt work. Any help please?
Try this, only include with directory structure.
require_once("mySubfolder/fpdf.php");
$pdf = new FPDF();