Help needed - creating a PDF in PHP

  MS35 17:56 28 Nov 07
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 08
  MS35 18:34 10 Jul 08

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.

How to get Windows 10 for free | How to install Windows 10: There is still a way to avoid paying…

1995-2015: How technology has changed the world in 20 years

Alex Chinneck’s giant ice cube Christmas tree at Kings Cross

Apple rumours & predictions 2017: The iPhone 8, new iPads, and everything else you should expect fr7…