Help needed - creating a PDF in PHP

  MS35 17:56 28 Nov 2007
Locked

Hi, I'm working with dreamweaver and have created a button to open a new PDF file using a hello world example I found on the web.

I would like to replace the Hello World text with a variable that I am using which I would normally call into an HTML or PHP page using

echo $_SESSION['Adv_County'];

What would the syntax look like if i needed to replace Hello World in the following line with this variable?

PDF_show_xy($p,"Hello world!",100,600);

I've tried numerous variations and googled but have hit a brick wall. Does opening a PDF break the browser session? or do I need to call the variable in a completely different way?

Thanks

  AvatarRoku 08:41 10 Jul 2008
  MS35 18:34 10 Jul 2008

used FPDF to create the documents and their help pages. But thanks for looking.

This thread is now locked and can not be replied to.

Elsewhere on IDG sites

Alienware 17 R4 2017 review

These brilliant Lego posters show just what children's imaginations are capable of

Mac power user tips and hidden tricks

Comment réinitialiser votre PC, ordinateur portable ou tablette Windows ?