chrissypchy
Programmer
Hi Everyone,
I'm trying to make a dynamic PDF using PHP. I need to import this graphic into it though and every time I try, I get errors. Here is my code:
<?php
include 'class.pdf.php'
$pdf = & new Cezpdf();
$pdf -> ezImage('pic.jpg',5,50,'full','center',1);
$pdf -> ezStream();
?>
I display text also but that part works. Can anyone tell me what I am doing wrong? Am I inputting the arguements wrong (I tried it without the quotes and I get the same thing). Any help would be appreciated.
-Chrissy
I'm trying to make a dynamic PDF using PHP. I need to import this graphic into it though and every time I try, I get errors. Here is my code:
<?php
include 'class.pdf.php'
$pdf = & new Cezpdf();
$pdf -> ezImage('pic.jpg',5,50,'full','center',1);
$pdf -> ezStream();
?>
I display text also but that part works. Can anyone tell me what I am doing wrong? Am I inputting the arguements wrong (I tried it without the quotes and I get the same thing). Any help would be appreciated.
-Chrissy