mdannatt Posted March 23, 2009 Share Posted March 23, 2009 well i finally finished a mysql report in php - thanks to all for the help. now I have decided I want to use FPDF to output the report in .pdf format. If I have a Variable $TOTAL Which has a value, how do I pass that variable to a new php for use with FPDF? Can I simply put $TOTAL in an html form and post it? I have lots of variables, so I dont think GET is the answer. I have been reading up on hidden forms - is that a good option? Link to comment https://forums.phpfreaks.com/topic/150653-passing-selected-php-variables-to-new-page/ Share on other sites More sharing options...
Ninjakreborn Posted March 23, 2009 Share Posted March 23, 2009 You can save the file as a PDF and output the PDF itself right there on that page. You can either grab it and just output a PDF using FPDF or you can save the file as a PDF and output it there as a PDF using FPDF. Link to comment https://forums.phpfreaks.com/topic/150653-passing-selected-php-variables-to-new-page/#findComment-791449 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.