I am trying to set the following image as a variable.
I get this error when accessing the pdf: FPDF error: Image file has no extension and no type was specified:
Here is my code:
$image1 = "../storage/$_GET[id]/01.jpg";
function Header()
{
$this->Image($image1,10,8,33);
}
anything wrong in it?