January 12th, 2015, 04:40 PM
Cannot get php generated screen to print as a pdf
I have a php script that allows you to input your name and then create a certificate, this part works fine but need the completed certificate to be downloaded as a pdf
The php live test version can be seen at
301 Moved Permanently
the code is here: http://gmdesign.org.uk/xxx/h/script1.zip
when you enter name and proceed then generate certificate it works fine but when you click download the generated pdf is all wrong it does not show your name and also shows rest of page as if its a print out
The download link is bottom of generated certificate
Why is the downloaded pdf not showing the submitted name?
why does the pdf show the whole page and just not the certificate
January 13th, 2015, 07:13 AM
You need to post your relevant code here. Few poeple on this forum will go to a 3rd party site to look at your code. Also, with the proper tags, the formatting of PHP code here makes it much easier to read. Finally you need to be more explicit about what the problem is. What error does the user see or what do you expect that you don't get when they try to download the certificate?
There are 10 kinds of people in the world. Those that understand binary and those that don't.