This site uses cookies and similar technologies.

If you don't change browser settings, you agree to it.

I understand
30 Posts
romyo
19 days ago
Topic

Hello!

Just a quick question involving the fpdf class.

I'd need to use it in the form but it's quite impossible to do it since the mere presence of another submit button alter the functionality of the seblod form making impossible to save the content and even overcoming this problem the fpdf class doesn't work if you have any other output before the function... so the idea was to send the values to another page and then, from there, print the pdf (I just need to fill some field in a complex pdf that I'd rather not recreate, that's why I'm using this class and not others) but, again, I cannot do this since I cannot add another submit button in the same page of the seblod form.

Does anybody knows some workaround?

Thank you!

R.

Get a VIP membership
30 Posts
romyo
18 days ago
0
Level 1

For anyone having the same problem, since I save the content of the form before creating the pdf i figured out that the key was the article id. So I just created a link to a popup window passing this variable (I used the get method in the link) into the new page and then from there lots of mysql query to get my data.
I know it's not the best solution but it works and that's just what I needed.

Get a VIP membership