Okay, I've seen a few posts for this, but nothing that really helps my situation. Here goes...
I have a two page problem here. The first page will contain a text box and I need to give two options here. The first option I have no problem with. That is to let them view the document through the browser. I've been able to do this many ways. The second option is my real problem. I want to be able to put a button or a link, something, that when pressed will force a download. But it needs to contain the variable from the text box. It needs to be as if the user right clicked, save as on the link of
<a href="something.php?a=$variable">
The second page takes the variable from the first page, performs a query, and generates a PDF document.
Thanks in advance for your help π