Hello every one i m using fpdf libray to creat pdf files from html form.
i m using
to display image on pdf and it works well.
in its first parameter it asks for exact path.it doesn't accept any address variable here.
but i want to make dynamic.i have able to get a complete path in an variable.
i have printed this variable.
//////////////////////////////
output
////////////////////
C:/DOCUME%7E1/mypic.PNG
/////////////////////////////////////////////////////
but how i put that path from variable in this parameter.?
when i use this variable as in this function.it give error.
it gives error.
plz help me for this.
i m using
Code:
$pdf->Image('C:/DOCUME%7E1/mypic.PNG',60,140,120,0,'','');
in its first parameter it asks for exact path.it doesn't accept any address variable here.
but i want to make dynamic.i have able to get a complete path in an variable.
i have printed this variable.
//////////////////////////////
Code:
echo "$path";
////////////////////
C:/DOCUME%7E1/mypic.PNG
/////////////////////////////////////////////////////
but how i put that path from variable in this parameter.?
when i use this variable as in this function.it give error.
Code:
$pdf->Image('$path',60,140,120,0,'','');
plz help me for this.
Comment