Fixed

November 25, 2007 by student 101

Something wrong with code, to be expected for free stuff.

Changed this line:
header("Content-Disposition: inline; filename="report.pdf"");

From this:
header("Content-Disposition: inline; filename="report.pdf"");

Now it works!


RE: Fixed

November 26, 2007 by Georgi Kralev

Hi Jayson

You are right. The is a syntax error in the following line:
header("Content-Disposition: inline; filename="report.pdf"");

It should be: 

header("Content-Disposition: inline; filename=report.pdf");

I have correct the problem. Thank you for your contribution.

Best regards,
 

No Probs,

November 26, 2007 by student 101

Bonus!

No Probs,
My mistake of copying and pasting the same freakin' code.

Cool
Cheers

RE: RE: Fixed

November 26, 2007 by student 101

By the way, this example opens up so many new possibilities for my coding.

Now I can add Link to PDF along with the Printer friendly & Email this article.

Thank you!

See all 7 Comments