hey guys I am generating a PDF file out of FPDF library. just want to ask what is my error in my code below this is my sample code:
$pdf = new FPDF();
because when I attempt to run this code in my view it shows
Fatal error: require(): Failed opening required 'http://localhost/eMLM/fpdf/fpdf.php' (include_path='.;C:\\\\\\\\xampp\\\\\\\\php\\\\\\\\PEAR') in C:\xampp\htdocs\eMLM\application\views\sites\datepdf.php on line 3
Where should i put the file of fpdf? Inside my folder which is eMLM or inside of htdocs? I cant’ get the path. Help me guys. But when i try to create a seperate folder that contains a pdf file test.pdf it shows the PDF file. By the way I also tried full path and relative path but it always shows the error above.